diff options
author | Adam <Adam@anope.org> | 2013-12-19 20:35:09 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-12-19 20:35:09 -0500 |
commit | ab6cd3b26caf127d1052e58e9f906d8ed5c3d986 (patch) | |
tree | 501563e7cd9b3d2c838727ce8df759ef3b08f527 /include/opertype.h | |
parent | 275f2fd374a75896b356297c1d9de8b13a894d1c (diff) |
Fix a few commands not being able to find non conf opers
Diffstat (limited to 'include/opertype.h')
-rw-r--r-- | include/opertype.h | 5 |
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 |