From 44f01ce8d5e604f5539f55d393ec9df17d14ffd7 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:11 +0000 Subject: Unbreak bot assigning, also call event in the unassign function, rather than elsewherel. This will be needed for third party module devs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1235 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_assign.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/bs_assign.c b/src/core/bs_assign.c index 22c9d9c17..fe07bace1 100644 --- a/src/core/bs_assign.c +++ b/src/core/bs_assign.c @@ -88,9 +88,8 @@ int do_assign(User * u) || (!check_access(u, ci, CA_ASSIGN) && !is_services_admin(u))) notice_lang(s_BotServ, u, PERMISSION_DENIED); else { - + bi->Assign(u, ci); notice_lang(s_BotServ, u, BOT_ASSIGN_ASSIGNED, bi->nick, ci->name); - send_event(EVENT_BOT_ASSIGN, 2, ci->name, bi->nick); } return MOD_CONT; } -- cgit