From 377d8700af05214a192a64eceff5f07af0595e3a Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 16 Dec 2006 00:54:16 +0000 Subject: Usermode +G allowed opers to change other user's modes. As the core doesn't follow this behaviour anymore, neither does it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6002 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_censor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index a4502f81e..bd8485e42 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -31,10 +31,6 @@ class CensorUser : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { - /* Only opers can change other users modes */ - if ((source != dest) && (!*source->oper)) - return MODEACTION_DENY; - if (adding) { if (!dest->IsModeSet('G')) -- cgit v1.2.3