summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index a1bed4fcc..34f85d51e 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1808,6 +1808,8 @@ class TreeSocket : public InspSocket
/* if we newly created the channel, set it's TS properly. */
if (created)
{
+ /* find created channel .. */
+ chan = this->Instance->FindChan(channel);
chan->age = TS;
}