From 2d52c375efbad941407fdc81846b6e11a9d31834 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sat, 25 Oct 2008 14:05:42 +0000 Subject: Missed one, w00t :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10714 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/mode.cpp b/src/mode.cpp index 14b465c6e..bdec78737 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -174,10 +174,6 @@ SimpleChannelModeHandler::SimpleChannelModeHandler(InspIRCd* Instance, char mode ModeAction SimpleUserModeHandler::OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode) { - /* Only opers can change other users modes */ - if (source != dest) - return MODEACTION_DENY; - if (adding) { if (!dest->IsModeSet(this->GetModeChar())) -- cgit v1.2.3