diff options
-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) { |