Skip to content

Commit

Permalink
Don't check for existance and such when removing bans
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12455 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
danieldg committed Feb 14, 2010
1 parent 4498f1a commit 957b298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/m_banredirect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 957b298

Please sign in to comment.