summaryrefslogtreecommitdiff
path: root/modules/commands/os_oper.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-07-02 18:03:36 -0400
committerAdam <Adam@anope.org>2017-07-02 18:03:36 -0400
commit56e6efbe8f3b641389cad3ac00d09d1652c4eea5 (patch)
treedf23f680e9682eb56030b9013ed7848494b80bb7 /modules/commands/os_oper.cpp
parentfeed624cdc507fdeeefbc4e14c93bfc354f9f1dc (diff)
Default require_oper to true. Fixes os_oper unserializer because it doesn't set it.
Diffstat (limited to 'modules/commands/os_oper.cpp')
-rw-r--r--modules/commands/os_oper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/commands/os_oper.cpp b/modules/commands/os_oper.cpp
index 589441454..339b2ac04 100644
--- a/modules/commands/os_oper.cpp
+++ b/modules/commands/os_oper.cpp
@@ -109,7 +109,6 @@ class CommandOSOper : public Command
}
na->nc->o = new MyOper(na->nc->display, ot);
- na->nc->o->require_oper = true;
if (Anope::ReadOnly)
source.Reply(READ_ONLY_MODE);