mirror of
https://github.com/anope/anope.git
synced 2026-06-26 01:06:39 +02:00
Don't leak opers and opertypes on /os reload, fix not updating opertypes on non conf opers on rehash
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@
|
||||
|
||||
std::vector<Oper *> Oper::opers;
|
||||
|
||||
Oper::Oper(const Anope::string &n, OperType *o) : name(n), ot(o), require_oper(false), config(false)
|
||||
Oper::Oper(const Anope::string &n, OperType *o) : name(n), ot(o), require_oper(false)
|
||||
{
|
||||
opers.push_back(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user