summaryrefslogtreecommitdiff
path: root/src/map/irc-bot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/irc-bot.c')
-rw-r--r--src/map/irc-bot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/irc-bot.c b/src/map/irc-bot.c
index 86f854ff7..2b5069af7 100644
--- a/src/map/irc-bot.c
+++ b/src/map/irc-bot.c
@@ -197,7 +197,7 @@ void irc_parse_sub(int fd, char *str) {
if( command[0] == '\0' )
return;
- if( !(func = ircbot->func_search(command)) && !(func = ircbot->func_search(source)) ) {
+ if ((func = ircbot->func_search(command)) == NULL && (func = ircbot->func_search(source)) == NULL) {
#ifdef IRCBOT_DEBUG
ShowWarning("Unknown command received %s from %s\n",command,source);
#endif // IRCBOT_DEBUG