From 957b298e48f06e801da8c260147c771515858cbe Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 14 Feb 2010 01:33:17 +0000 Subject: Don't check for existance and such when removing bans git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12455 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_banredirect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp index 144e20e10..1e61986e5 100644 --- a/src/modules/m_banredirect.cpp +++ b/src/modules/m_banredirect.cpp @@ -120,7 +120,7 @@ class BanRedirect : public ModeWatcher if(mask[CHAN].length()) { - if (IS_LOCAL(source)) + if (adding && IS_LOCAL(source)) { if (!ServerInstance->IsChannel(mask[CHAN].c_str(), ServerInstance->Config->Limits.ChanMax)) { -- cgit v1.2.3