diff options
author | remoitnane <remoit(DOT)nane(AT)gmail(DOT)com> | 2010-08-14 01:39:32 -0700 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-08-15 13:45:21 -0400 |
commit | 0d89804dd07e811d0a8573d3a428bddc476c26bb (patch) | |
tree | 4c0bebf5aa333458022006c6b811a0aa2b0d823b /src/map/tmw.c | |
parent | 7d1050ac6dfb32e9375a20001d71d052148689e9 (diff) | |
download | tmwa-0d89804dd07e811d0a8573d3a428bddc476c26bb.tar.gz tmwa-0d89804dd07e811d0a8573d3a428bddc476c26bb.tar.bz2 tmwa-0d89804dd07e811d0a8573d3a428bddc476c26bb.tar.xz tmwa-0d89804dd07e811d0a8573d3a428bddc476c26bb.zip |
Centralize chat validation and simplify at-command processing
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
Diffstat (limited to 'src/map/tmw.c')
-rw-r--r-- | src/map/tmw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/tmw.c b/src/map/tmw.c index 46e02bc..8fcfd0d 100644 --- a/src/map/tmw.c +++ b/src/map/tmw.c @@ -131,9 +131,6 @@ int tmw_CheckChatLameness (struct map_session_data *sd, char *message) { int count, lame; - // Ignore the name - message += strlen (sd->status.name); - for (count = lame = 0; *message; message++, count++) if (isupper (*message) || ispunct (*message)) lame++; |