]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Whoops, forgot to put something back that i took out during testing!
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 1 Jan 2007 19:16:37 +0000 (19:16 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 1 Jan 2007 19:16:37 +0000 (19:16 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6201 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 497c577f78375b58d678d5c55ec122b07de15a21..c5c4e2a5b45c07c10b0d59e02f8fa1b9febd6ff9 100644 (file)
@@ -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 */