diff options
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/cmode_k.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modes/cmode_k.cpp b/src/modes/cmode_k.cpp index db1926044..3540346b5 100644 --- a/src/modes/cmode_k.cpp +++ b/src/modes/cmode_k.cpp @@ -22,7 +22,7 @@ ModeChannelKey::ModeChannelKey(InspIRCd* Instance) : ModeHandler(Instance, 'k', } ModePair ModeChannelKey::ModeSet(User*, User*, Channel* channel, const std::string ¶meter) -{ +{ if (channel->modes[CM_KEY]) { std::string ckey = channel->GetModeParameter('k'); @@ -101,4 +101,3 @@ ModeAction ModeChannelKey::OnModeChange(User* source, User*, Channel* channel, s return MODEACTION_DENY; } } - |