diff options
Diffstat (limited to 'src/modules/m_kicknorejoin.cpp')
-rw-r--r-- | src/modules/m_kicknorejoin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp index c5abc80c2..9e12b4e18 100644 --- a/src/modules/m_kicknorejoin.cpp +++ b/src/modules/m_kicknorejoin.cpp @@ -65,7 +65,7 @@ class KickRejoin : public ModeHandler } else { - channel->SetMode('J', ""); + channel->SetModeParam('J', ""); return MODEACTION_ALLOW; } } @@ -74,7 +74,7 @@ class KickRejoin : public ModeHandler if (!channel->IsModeSet('J')) { parameter = ConvToStr(atoi(parameter.c_str())); - channel->SetMode('J', parameter); + channel->SetModeParam('J', parameter); return MODEACTION_ALLOW; } else @@ -91,7 +91,7 @@ class KickRejoin : public ModeHandler parameter = ConvToStr(atoi(parameter.c_str())); if (parameter != "0") { - channel->SetMode('J', parameter); + channel->SetModeParam('J', parameter); return MODEACTION_ALLOW; } else |