summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-22 19:29:52 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-22 19:29:52 +0000
commitb860407e9607fd34affb4a4f86e9ecdad5a5201d (patch)
treeb348864f331eebfd89cd976db8a94c8f35c30bb8
parent15d46952214cfdc679cda1d463e11d1ab95329da (diff)
Fix my fix, it crashed (thanks skenmy, sorry)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7
-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;
}