From 187ece1bab24da3e9fda31053aaa04c5e4c401f9 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 11 May 2007 18:05:43 +0000 Subject: Opers haven't been able to change the modes of others since 1.0. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6975 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_botmode.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index 2f9a3fafd..ea6d1e60a 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -30,10 +30,6 @@ class BotMode : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { - /* Only opers can change other users modes */ - if ((source != dest) && (!*source->oper)) - return MODEACTION_DENY; - if (adding) { if (!dest->IsModeSet('B')) -- cgit v1.2.3