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 ddabf4297..0eec8f8d9 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -1595,7 +1595,7 @@ static int do_assign(User * u)
bot_join(ci);
}
notice_lang(s_BotServ, u, BOT_ASSIGN_ASSIGNED, bi->nick, ci->name);
- send_event(EVENT_BOT_ASSIGN, bi->nick);
+ send_event(EVENT_BOT_ASSIGN, ci->name);
}
return MOD_CONT;
}