]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Missed one, w00t :)
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 25 Oct 2008 14:05:42 +0000 (14:05 +0000)
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 25 Oct 2008 14:05:42 +0000 (14:05 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10714 e03df62e-2008-0410-955e-edbf42e46eb7

src/mode.cpp

index 14b465c6ec332e7ab36f5ef437479dd756eb5482..bdec78737d87aa9ae0958d5993d09c3050b86997 100644 (file)
@@ -174,10 +174,6 @@ SimpleChannelModeHandler::SimpleChannelModeHandler(InspIRCd* Instance, char mode
 
 ModeAction SimpleUserModeHandler::OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode)
 {
-       /* Only opers can change other users modes */
-       if (source != dest)
-               return MODEACTION_DENY;
-
        if (adding)
        {
                if (!dest->IsModeSet(this->GetModeChar()))