summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-14 01:33:17 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-14 01:33:17 +0000
commit957b298e48f06e801da8c260147c771515858cbe (patch)
tree4cc40ecc4ff471df25513db380c671630e5cf2e4 /src
parent4498f1abd163b140efcbbd9e75173665c9b1c29f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_banredirect.cpp2
1 files changed, 1 insertions, 1 deletions
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))
{