diff options
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/cmode_h.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modes/cmode_h.cpp b/src/modes/cmode_h.cpp index b50459b87..c3bb92576 100644 --- a/src/modes/cmode_h.cpp +++ b/src/modes/cmode_h.cpp @@ -77,15 +77,6 @@ void ModeChannelHalfOp::RemoveMode(User*, irc::modestacker* stack) ModeAction ModeChannelHalfOp::OnModeChange(User* source, User*, Channel* channel, std::string ¶meter, bool adding, bool servermode) { - /* If halfops are not enabled in the conf, we don't execute - * anything in this class at all. - */ - if (!ServerInstance->Config->AllowHalfop) - { - parameter = ""; - return MODEACTION_DENY; - } - int status = channel->GetStatus(source); /* Call the correct method depending on wether we're adding or removing the mode */ |