summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-12 20:27:39 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-12 20:27:39 +0000
commit8006da76e04591191e6e52826e7af019b5c01f63 (patch)
tree8b7e646a6e9c27ba738e76d6c2057fa48be22f3a /src
parent82fc993800255de6e11a3b739e064d639240903c (diff)
Opers cannot change the modes of others
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6992 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_stripcolor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index e3a1c39da..e2f7482a9 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -58,7 +58,7 @@ class UserStripColor : 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))
+ if (source != dest)
return MODEACTION_DENY;
if (adding)