diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-14 01:33:17 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-14 01:33:17 +0000 |
commit | 957b298e48f06e801da8c260147c771515858cbe (patch) | |
tree | 4cc40ecc4ff471df25513db380c671630e5cf2e4 /src/modules | |
parent | 4498f1abd163b140efcbbd9e75173665c9b1c29f (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/modules')
-rw-r--r-- | src/modules/m_banredirect.cpp | 2 |
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)) { |