From 6d97b7f8f9599f1825e3b0e4b07d421bc3db2c06 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Fri, 3 Apr 2009 02:42:06 +0000 Subject: Fix bug #1045, patch from Adam, suspended channels can no longer be administered, and control over checking forbidden and suspended channels has been moved out of the modules and into the core. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2243 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_badwords.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/core/bs_badwords.c') diff --git a/src/core/bs_badwords.c b/src/core/bs_badwords.c index 29025965f..00d1bace2 100644 --- a/src/core/bs_badwords.c +++ b/src/core/bs_badwords.c @@ -255,12 +255,6 @@ class CommandBSBadwords : public Command return MOD_CONT; } - if (ci->flags & CI_FORBIDDEN) - { - notice_lang(s_BotServ, u, CHAN_X_FORBIDDEN, chan); - return MOD_CONT; - } - if (!check_access(u, ci, CA_BADWORDS) && (!need_args || !u->nc->HasPriv("botserv/administration"))) { notice_lang(s_BotServ, u, ACCESS_DENIED); -- cgit