From c41191ac09a3e8f8e28a05b1bd002cae33264647 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 1 Jan 2007 19:16:37 +0000 Subject: Whoops, forgot to put something back that i took out during testing! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6201 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 497c577f7..c5c4e2a5b 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1653,9 +1653,12 @@ class TreeSocket : public InspSocket ourTS = TS; /* Zap all the privilage modes on our side, if the channel exists here */ - param_list.push_back(channel); - this->RemoveStatus(Instance->Config->ServerName, param_list); - chan->age = TS; + if (!created) + { + param_list.push_back(channel); + this->RemoveStatus(Instance->Config->ServerName, param_list); + chan->age = TS; + } } /* Put the final parameter of the FJOIN into a tokenstream ready to split it */ -- cgit v1.2.3