summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-01 21:41:32 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-01 21:41:32 +0000
commit46929c065a8c174d65ddf879c8d250d467b85455 (patch)
tree322545f7f80eba6ebf2c06b88c5797100bb4cca8 /src/map
parent446724fb64fc64557ef4a2c63659359d7b6fb89f (diff)
downloadhercules-46929c065a8c174d65ddf879c8d250d467b85455.tar.gz
hercules-46929c065a8c174d65ddf879c8d250d467b85455.tar.bz2
hercules-46929c065a8c174d65ddf879c8d250d467b85455.tar.xz
hercules-46929c065a8c174d65ddf879c8d250d467b85455.zip
Fixed silly copy-paste typo in r11607 preventing #-commands from working...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11631 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/charcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index 4aecc260b..8a1ca7cc7 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -3860,7 +3860,7 @@ bool is_charcommand(const int fd, struct map_session_data* sd, const char* messa
return false;
if( sd->sc.data[SC_NOCHAT].timer != -1 && sd->sc.data[SC_NOCHAT].val1&MANNER_NOCOMMAND )
- return true;
+ return true; // so that it won't display as normal message
if( battle_config.atc_gmonly != 0 && gmlvl == 0 )
return false;
@@ -3875,7 +3875,7 @@ bool is_charcommand(const int fd, struct map_session_data* sd, const char* messa
if( message[0] == '|' && strlen(message) >= 4 && message[3] == charcommand_symbol )
message += 3;
- return is_atcommand_sub(fd,sd,message,gmlvl);
+ return is_charcommand_sub(fd,sd,message,gmlvl);
}