mirror of
https://github.com/anope/anope.git
synced 2026-07-05 07:33:13 +02:00
Call OnDelChan prior to unsetting extensibles
cs_set uses this to set -P on permanent channels if they are persistent. Also move similar event in nickcore/nickalias destruction
This commit is contained in:
+2
-2
@@ -37,10 +37,10 @@ NickCore::NickCore(const Anope::string &coredisplay) : Serializable("NickCore"),
|
||||
|
||||
NickCore::~NickCore()
|
||||
{
|
||||
UnsetExtensibles();
|
||||
|
||||
FOREACH_MOD(OnDelCore, (this));
|
||||
|
||||
UnsetExtensibles();
|
||||
|
||||
if (!this->chanaccess->empty())
|
||||
Log(LOG_DEBUG) << "Non-empty chanaccess list in destructor!";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user