summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-06 21:32:00 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-06 21:32:00 +0000
commit51056761b6f647cea77d1fbed983a3d9e8a5d12a (patch)
tree1dca42c63544aad76caf3296fafaf9f42e64bedf /src
parent22d8967b7da6432c5c22e87713654c3f3d348f84 (diff)
Fix mode +L being visibly reset on every FJOIN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12610 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_redirect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index eeca44e7d..c6695f80e 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -53,6 +53,8 @@ class Redirect : public ModeHandler
}
}
+ if (channel->GetModeParameter('L') == parameter)
+ return MODEACTION_DENY;
/*
* We used to do some checking for circular +L here, but there is no real need for this any more especially as we
* now catch +L looping in PreJoin. Remove it, since O(n) logic makes me sad, and we catch it anyway. :) -- w00t