diff options
| author | 2007-05-11 18:05:43 +0000 | |
|---|---|---|
| committer | 2007-05-11 18:05:43 +0000 | |
| commit | 187ece1bab24da3e9fda31053aaa04c5e4c401f9 (patch) | |
| tree | 7392be1721ecd7e9025b42ea9d362cf6aeba74cf /src/modules/m_botmode.cpp | |
| parent | Clear up logic a little here, check error conditions at the top, succeed at t... (diff) | |
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
Diffstat (limited to 'src/modules/m_botmode.cpp')
| -rw-r--r-- | src/modules/m_botmode.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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')) |
