projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f6a1b
)
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, 22 May 2009 15:04:49 +0000
(15:04 +0000)
(cherry picked from commit
29110f0d4d51e0c1938523afa4d77c11973f38a6
)
src/speech.c
patch
|
blob
|
history
diff --git
a/src/speech.c
b/src/speech.c
index aff98b83d5ecbaf9bb4ef63bd2dbb93e2a9154bf..a2e9fc068cdf8418b19e44ea63ec6ea70e40a88e 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)) {