summaryrefslogtreecommitdiff
path: root/src/irc/bot/bot-events.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-08-23 01:44:46 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-08-23 01:44:46 +0000
commit3f8c35db914d9819539e3014bb02c3806be5af00 (patch)
tree858f0a0afbf8eff21892261ff60650232830a35d /src/irc/bot/bot-events.c
parent48cb8462303249406c69368db5aa5cf39cea1c3f (diff)
downloadirssi-3f8c35db914d9819539e3014bb02c3806be5af00.zip
fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@621 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 7cba44ac..d344bb12 100644
--- a/src/irc/bot/bot-events.c
+++ b/src/irc/bot/bot-events.c
@@ -97,7 +97,7 @@ static void parse_channel_mode(CHANNEL_REC *channel, const char *mode,
g_return_if_fail(channel != NULL);
g_return_if_fail(nick != NULL);
- g_return_if_fail(modestr != NULL);
+ g_return_if_fail(mode != NULL);
user = botuser_find(nick, address);
flags = user == NULL ? 0 : get_flags(user, channel);