mirror of
https://github.com/anope/anope.git
synced 2026-07-04 02:03:12 +02:00
Fix compiler error caused by removal of unassign() from w00t.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1262 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -180,7 +180,7 @@ int do_set(User * u)
|
||||
if (!stricmp(value, "ON")) {
|
||||
ci->botflags |= BS_NOBOT;
|
||||
if (ci->bi)
|
||||
unassign(u, ci);
|
||||
ci->bi->UnAssign(u, ci);
|
||||
notice_lang(s_BotServ, u, BOT_SET_NOBOT_ON, ci->name);
|
||||
} else if (!stricmp(value, "OFF")) {
|
||||
ci->botflags &= ~BS_NOBOT;
|
||||
|
||||
Reference in New Issue
Block a user