1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 08:06:37 +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:
Adam
2017-10-12 19:35:29 -04:00
parent d63e32a579
commit 0c469abe4a
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -50,10 +50,10 @@ NickAlias::NickAlias(const Anope::string &nickname, NickCore* nickcore) : Serial
NickAlias::~NickAlias()
{
UnsetExtensibles();
FOREACH_MOD(OnDelNick, (this));
UnsetExtensibles();
/* Accept nicks that have no core, because of database load functions */
if (this->nc)
{