summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp4
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)