From 8b0c965a3845438cfb4735917a2d113af0f375f9 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 25 Nov 2007 14:28:42 +0000 Subject: [PATCH] (flash, wall): Remove rev 1.11's bogus input filtering. --- src/lib/commands/flash.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/lib/commands/flash.c b/src/lib/commands/flash.c index 90395ae4..9473bd03 100644 --- a/src/lib/commands/flash.c +++ b/src/lib/commands/flash.c @@ -74,10 +74,7 @@ flash(void) for (sp = player->combuf; *sp && *sp != ' '; ++sp) ; for (++sp; *sp && *sp != ' '; ++sp) ; buf[0] = ':'; - if (player->flags & PF_UTF8) - strcpy(buf+1, sp); - else - copy_utf8_to_ascii_no_funny(buf+1, sp); + strcpy(buf+1, sp); sendmessage(us, to, buf, 1); } else { sendmessage(us, to, "...", 1); @@ -102,10 +99,7 @@ wall(void) if (player->argp[1]) { for (sp = player->combuf; *sp && *sp != ' '; ++sp) ; buf[0] = ':'; - if (player->flags & PF_UTF8) - strcpy(buf+1, sp); - else - copy_utf8_to_ascii_no_funny(buf+1, sp); + strcpy(buf+1, sp); sendmessage(us, 0, buf, 1); } else { sendmessage(us, 0, "...", 1);