From 648c95b10bc1c3afb23183e5d355286ef5f18f6f Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 25 Oct 2008 14:02:11 +0000 Subject: Fix 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 --- src/modes/umode_s.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modes/umode_s.cpp') 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) { -- cgit v1.2.3