From: brain Date: Mon, 1 Jan 2007 19:16:37 +0000 (+0000) Subject: Whoops, forgot to put something back that i took out during testing! X-Git-Tag: v2.0.23~6184 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=c41191ac09a3e8f8e28a05b1bd002cae33264647;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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 */