From 34afc576d7b3f43cf099b8cb28e86a4740bf41f1 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:12 +0000 Subject: [PATCH] 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 --- src/core/bs_set.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/bs_set.c b/src/core/bs_set.c index 4126603d4..08d12ec23 100644 --- a/src/core/bs_set.c +++ b/src/core/bs_set.c @@ -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;