summaryrefslogtreecommitdiff
path: root/src/opertype.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-12-19 21:34:21 -0500
committerAdam <Adam@anope.org>2013-12-19 21:34:21 -0500
commitc0cd76a0a5be7bbbcf3e891357e5a8caa7ad8038 (patch)
tree96f6d3be5a37f6c4a2374d35d3fd6714ecb974fa /src/opertype.cpp
parentab6cd3b26caf127d1052e58e9f906d8ed5c3d986 (diff)
Don't leak opers and opertypes on /os reload, fix not updating opertypes on non conf opers on rehash
Diffstat (limited to 'src/opertype.cpp')
-rw-r--r--src/opertype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opertype.cpp b/src/opertype.cpp
index 153b735ab..38a1f2f50 100644
--- a/src/opertype.cpp
+++ b/src/opertype.cpp
@@ -14,7 +14,7 @@
std::vector<Oper *> Oper::opers;
-Oper::Oper(const Anope::string &n, OperType *o) : name(n), ot(o), require_oper(false), config(false)
+Oper::Oper(const Anope::string &n, OperType *o) : name(n), ot(o), require_oper(false)
{
opers.push_back(this);
}