diff options
author | Adam <Adam@anope.org> | 2017-10-12 19:35:29 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-10-12 19:37:06 -0400 |
commit | 0c469abe4a4b69fd5de314428a82a7f400e5862e (patch) | |
tree | e34fa3b3dfa6f9fc1029fb5a1b94c8a669055168 /src/regchannel.cpp | |
parent | d63e32a579b7a19316fa209a99cba3ce79daf6ef (diff) |
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
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r-- | src/regchannel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 9502d2116..019d84046 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -140,10 +140,10 @@ ChannelInfo::ChannelInfo(const ChannelInfo &ci) : Serializable("ChannelInfo"), ChannelInfo::~ChannelInfo() { - UnsetExtensibles(); - FOREACH_MOD(OnDelChan, (this)); + UnsetExtensibles(); + Log(LOG_DEBUG) << "Deleting channel " << this->name; if (this->c) |