summaryrefslogtreecommitdiff
path: root/src/irc/bot/bot-events.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-08-22 20:28:03 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-08-22 20:28:03 +0000
commit2e64899f18f21bbcecaa489eb3535203a0666d09 (patch)
treecd233ce1d7e52eef3b12c9d34ff86e6ef887ea15 /src/irc/bot/bot-events.c
parent67cc9af1bd825268e0bf12dca262bdbf64e56d29 (diff)
downloadirssi-2e64899f18f21bbcecaa489eb3535203a0666d09.zip
HAS_MODE_ARG() wasn't updated here yet..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@618 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/bot/bot-events.c')
-rw-r--r--src/irc/bot/bot-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/bot/bot-events.c b/src/irc/bot/bot-events.c
index ebbe0660..7cba44ac 100644
--- a/src/irc/bot/bot-events.c
+++ b/src/irc/bot/bot-events.c
@@ -120,7 +120,7 @@ static void parse_channel_mode(CHANNEL_REC *channel, const char *mode,
continue;
}
- if (!HAS_MODE_ARG(*curmode))
+ if (!HAS_MODE_ARG(type, *curmode))
ptr = NULL;
else {
ptr = cmd_get_param(&modestr);