diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-13 14:08:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-13 14:08:24 +0000 |
commit | 2d04877100a3480cc2307939d1d32d568fe78dab (patch) | |
tree | 3686dc6a7f79fed18f96b5bc5a93ae4eb95ece9f /src/modules | |
parent | 3b7ce097e2ed90b653f115ea7c2249030cc36aac (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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_redirect.cpp | 2 |
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) { |