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:
+2
-2
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user