diff options
Diffstat (limited to 'src/modules/m_kicknorejoin.cpp')
-rw-r--r-- | src/modules/m_kicknorejoin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp index f0244388e..ea97367a0 100644 --- a/src/modules/m_kicknorejoin.cpp +++ b/src/modules/m_kicknorejoin.cpp @@ -68,6 +68,12 @@ class KickRejoin : public ModeHandler } else { + if (!adding) + { + channel->SetModeParam('J', parameter.c_str(), adding); + return MODEACTION_ALLOW; + } + std::string cur_param = channel->GetModeParameter('J'); if (cur_param == parameter) { |