From 35d20fbabe8babe761e938e4c9a65c47f303f81d Mon Sep 17 00:00:00 2001 From: peavey Date: Wed, 11 Feb 2009 03:09:01 +0000 Subject: Remove/Add cmode h according to . Fixes bug #715 reported by Strawberry. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11081 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_h.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/modes') 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 */ -- cgit v1.2.3