diff options
-rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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())) |