summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-16 00:54:16 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-16 00:54:16 +0000
commit377d8700af05214a192a64eceff5f07af0595e3a (patch)
tree1425cf1ac83cc1911691367bd62c4e6c936a0509 /src/modules
parent6aecd4c9ec0e09d04a6a5e59182a229b3c374b69 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_censor.cpp4
1 files changed, 0 insertions, 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 &parameter, bool adding)
{
- /* Only opers can change other users modes */
- if ((source != dest) && (!*source->oper))
- return MODEACTION_DENY;
-
if (adding)
{
if (!dest->IsModeSet('G'))