From b860407e9607fd34affb4a4f86e9ecdad5a5201d Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 22 Nov 2006 19:29:52 +0000 Subject: Fix my fix, it crashed (thanks skenmy, sorry) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3