diff options
author | Adam <Adam@anope.org> | 2011-10-15 00:54:32 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-10-15 00:54:32 -0400 |
commit | 89b4be681de8c9242abbe05c499a1426290d947c (patch) | |
tree | ea253cb97f37926b7cd14fc47b33f6932589ffac | |
parent | 28ca0e10070cd449c90609d95e839739ec4b7590 (diff) |
Fixed crash on /os oper del
-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 |