diff options
Diffstat (limited to 'src/modules/m_redirect.cpp')
-rw-r--r-- | src/modules/m_redirect.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp index 9aa0dcf8b..00c191d26 100644 --- a/src/modules/m_redirect.cpp +++ b/src/modules/m_redirect.cpp @@ -68,15 +68,14 @@ class Redirect : public ModeHandler * 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 */ - channel->SetMode('L', true); - channel->SetModeParam('L', parameter.c_str(), true); + channel->SetMode('L', parameter); return MODEACTION_ALLOW; } else { if (channel->IsModeSet('L')) { - channel->SetMode('L', false); + channel->SetMode('L', ""); return MODEACTION_ALLOW; } } |