summaryrefslogtreecommitdiff
path: root/src/botserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/botserv.c')
-rw-r--r--src/botserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 3c3c90497..5fe3058a9 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -738,7 +738,7 @@ void bot_join(ChannelInfo * ci)
else
av[2] = ban->mask;
- do_cmode(whosends(ci), ac, av);
+ do_cmode(whosends(ci)->nick, ac, av);
}
}
}