diff options
| author | 2008-10-25 14:05:42 +0000 | |
|---|---|---|
| committer | 2008-10-25 14:05:42 +0000 | |
| commit | 2d52c375efbad941407fdc81846b6e11a9d31834 (patch) | |
| tree | ab8ab46161af554d2e462e840764a4389294471a /src/mode.cpp | |
| parent | Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, ... (diff) | |
Missed one, w00t :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10714 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
| -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())) |
