summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-13 14:08:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-13 14:08:24 +0000
commit2d04877100a3480cc2307939d1d32d568fe78dab (patch)
tree3686dc6a7f79fed18f96b5bc5a93ae4eb95ece9f
parent3b7ce097e2ed90b653f115ea7c2249030cc36aac (diff)
If +L is set without +l, dont forward users
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4918 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_redirect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index e51d1f20f..efe780989 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -132,7 +132,7 @@ class ModuleRedirect : public Module
{
if (chan)
{
- if (chan->IsModeSet('L'))
+ if (chan->IsModeSet('L') && chan->limit)
{
if (chan->GetUserCounter() >= chan->limit)
{