summaryrefslogtreecommitdiff
path: root/include
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 /include
parentab6cd3b26caf127d1052e58e9f906d8ed5c3d986 (diff)
Don't leak opers and opertypes on /os reload, fix not updating opertypes on non conf opers on rehash
Diffstat (limited to 'include')
-rw-r--r--include/config.h1
-rw-r--r--include/opertype.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
index a86a4433a..1bc566c5c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -129,6 +129,7 @@ namespace Configuration
Anope::map<Anope::string> bots;
Conf();
+ ~Conf();
void LoadConf(File &file);
diff --git a/include/opertype.h b/include/opertype.h
index f40f4722a..fba6645ce 100644
--- a/include/opertype.h
+++ b/include/opertype.h
@@ -25,8 +25,6 @@ struct CoreExport Oper
bool require_oper;
Anope::string password;
Anope::string certfp;
- /* True if this operator is set in the config */
- bool config;
/* Hosts allowed to use this operator block */
std::vector<Anope::string> hosts;
Anope::string vhost;