summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/bs_set.c6
1 files 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;