diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 14:05:42 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 14:05:42 +0000 |
commit | 2d52c375efbad941407fdc81846b6e11a9d31834 (patch) | |
tree | ab8ab46161af554d2e462e840764a4389294471a | |
parent | 648c95b10bc1c3afb23183e5d355286ef5f18f6f (diff) |
Missed one, w00t :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10714 e03df62e-2008-0410-955e-edbf42e46eb7
-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())) |