(flash, wall): Remove rev 1.11's bogus input filtering.
This commit is contained in:
parent
698322553a
commit
8b0c965a38
1 changed files with 2 additions and 8 deletions
|
@ -74,10 +74,7 @@ flash(void)
|
||||||
for (sp = player->combuf; *sp && *sp != ' '; ++sp) ;
|
for (sp = player->combuf; *sp && *sp != ' '; ++sp) ;
|
||||||
for (++sp; *sp && *sp != ' '; ++sp) ;
|
for (++sp; *sp && *sp != ' '; ++sp) ;
|
||||||
buf[0] = ':';
|
buf[0] = ':';
|
||||||
if (player->flags & PF_UTF8)
|
strcpy(buf+1, sp);
|
||||||
strcpy(buf+1, sp);
|
|
||||||
else
|
|
||||||
copy_utf8_to_ascii_no_funny(buf+1, sp);
|
|
||||||
sendmessage(us, to, buf, 1);
|
sendmessage(us, to, buf, 1);
|
||||||
} else {
|
} else {
|
||||||
sendmessage(us, to, "...", 1);
|
sendmessage(us, to, "...", 1);
|
||||||
|
@ -102,10 +99,7 @@ wall(void)
|
||||||
if (player->argp[1]) {
|
if (player->argp[1]) {
|
||||||
for (sp = player->combuf; *sp && *sp != ' '; ++sp) ;
|
for (sp = player->combuf; *sp && *sp != ' '; ++sp) ;
|
||||||
buf[0] = ':';
|
buf[0] = ':';
|
||||||
if (player->flags & PF_UTF8)
|
strcpy(buf+1, sp);
|
||||||
strcpy(buf+1, sp);
|
|
||||||
else
|
|
||||||
copy_utf8_to_ascii_no_funny(buf+1, sp);
|
|
||||||
sendmessage(us, 0, buf, 1);
|
sendmessage(us, 0, buf, 1);
|
||||||
} else {
|
} else {
|
||||||
sendmessage(us, 0, "...", 1);
|
sendmessage(us, 0, "...", 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue