summaryrefslogtreecommitdiff
path: root/src/modes/umode_s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/umode_s.cpp')
-rw-r--r--src/modes/umode_s.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modes/umode_s.cpp b/src/modes/umode_s.cpp
index d7f508066..93bc60cac 100644
--- a/src/modes/umode_s.cpp
+++ b/src/modes/umode_s.cpp
@@ -23,10 +23,6 @@ ModeUserServerNoticeMask::ModeUserServerNoticeMask(InspIRCd* Instance) : ModeHan
ModeAction ModeUserServerNoticeMask::OnModeChange(User* source, User* dest, Channel*, std::string &parameter, bool adding, bool servermode)
{
- /* Only opers can change other users modes */
- if ((source != dest) && (!IS_OPER(source)))
- return MODEACTION_DENY;
-
/* Set the array fields */
if (adding)
{