From 2d04877100a3480cc2307939d1d32d568fe78dab Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 13 Aug 2006 14:08:24 +0000 Subject: 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 --- src/modules/m_redirect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3