From ab6cd3b26caf127d1052e58e9f906d8ed5c3d986 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 19 Dec 2013 20:35:09 -0500 Subject: Fix a few commands not being able to find non conf opers --- include/opertype.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/opertype.h b/include/opertype.h index 9dd74e193..f40f4722a 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -31,9 +31,10 @@ struct CoreExport Oper std::vector hosts; Anope::string vhost; - Oper(const Anope::string &n, OperType *o) : name(n), ot(o), require_oper(false), config(false) { } + Oper(const Anope::string &n, OperType *o); + virtual ~Oper(); - virtual ~Oper() { } + static std::vector opers; /** Find an oper block by name * @param name The name -- cgit