diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 14:02:11 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 14:02:11 +0000 |
commit | 648c95b10bc1c3afb23183e5d355286ef5f18f6f (patch) | |
tree | bedb523b36fb2a63f18102e47c9800a07b5c7f64 /src/modes | |
parent | 07689436008f79e3aebe32fb660680e5830568ce (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')
-rw-r--r-- | src/modes/umode_s.cpp | 4 |
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 ¶meter, 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) { |