summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_botmode.cpp4
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 &parameter, bool adding)
{
- /* Only opers can change other users modes */
- if ((source != dest) && (!*source->oper))
- return MODEACTION_DENY;
-
if (adding)
{
if (!dest->IsModeSet('B'))