summaryrefslogtreecommitdiff
path: root/include/opertype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opertype.h')
-rw-r--r--include/opertype.h5
1 files changed, 3 insertions, 2 deletions
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<Anope::string> 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<Oper *> opers;
/** Find an oper block by name
* @param name The name