summaryrefslogtreecommitdiff
path: root/src/modes/umode_s.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-25 14:02:11 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-25 14:02:11 +0000
commit648c95b10bc1c3afb23183e5d355286ef5f18f6f (patch)
treebedb523b36fb2a63f18102e47c9800a07b5c7f64 /src/modes/umode_s.cpp
parent07689436008f79e3aebe32fb660680e5830568ce (diff)
Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, aquanight, you didn't look quite far enough into this - the problem was m_cloaking (e.g.) returning MODEACTION_DENY if src != dest, which was very very oooold behaviour. Seems to work fine now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10713 e03df62e-2008-0410-955e-edbf42e46eb7
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)
{