From c0cd76a0a5be7bbbcf3e891357e5a8caa7ad8038 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 19 Dec 2013 21:34:21 -0500 Subject: Don't leak opers and opertypes on /os reload, fix not updating opertypes on non conf opers on rehash --- include/config.h | 1 + include/opertype.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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 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 hosts; Anope::string vhost; -- cgit