projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1d0fd5
)
Minor change in speech.c
author
Ari Johnson
<ari@theari.com>
Fri, 17 Dec 2010 19:44:27 +0000
(19:44 +0000)
committer
Ari Johnson
<ari@theari.com>
Fri, 17 Dec 2010 19:44:27 +0000
(19:44 +0000)
src/speech.c
patch
|
blob
|
history
diff --git
a/src/speech.c
b/src/speech.c
index 3bfcbe71ae7347b740442dfc4ac8e5ef8c2ea5f1..154fe3196faa3f72446ca36df2010d69605fed92 100644
(file)
--- a/
src/speech.c
+++ b/
src/speech.c
@@
-426,7
+426,7
@@
do_pemit_list(dbref player, char *list, const char *message, int flags)
{
char *bp, *p;
char *nsbuf, *nspbuf;
- char *l;
+ c
onst c
har *l;
dbref who;
int nospoof;
@@
-439,8
+439,8
@@
do_pemit_list(dbref player, char *list, const char *message, int flags)
list[BUFFER_LEN - 1] = '\0';
l = trim_space_sep(list, ' ');
- while (
(p = split_token(&l, ' '
))) {
- who = noisy_match_result(player, p, NOTYPE, MAT_
PLAYER | MAT_ABSOLUTE
);
+ while (
l && *l && (p = next_in_list(&l
))) {
+ who = noisy_match_result(player, p, NOTYPE, MAT_
EVERYTHING
);
if (GoodObject(who) && okay_pemit(player, who)) {
if (nospoof && Nospoof(who)) {
if (Paranoid(who)) {