diff options
-rw-r--r-- | include/opertype.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/opertype.h b/include/opertype.h index 3f40df7e7..962d67c79 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -23,7 +23,9 @@ struct CoreExport Oper std::vector<Anope::string> hosts; Anope::string vhost; - Oper(const Anope::string &n, OperType *o) : name(n), ot(o) { } + Oper(const Anope::string &n, OperType *o) : name(n), ot(o) { this->config = false; } + + virtual ~Oper() { } /** Find an oper block by name * @param name The name |