Ver código fonte

Fixed silly copy-paste typo in r11607 preventing #-commands from working...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11631 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 17 anos atrás
pai
commit
65ad6362c5
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/map/charcommand.c

+ 2 - 2
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);
 }