summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-01 19:16:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-01 19:16:37 +0000
commitc41191ac09a3e8f8e28a05b1bd002cae33264647 (patch)
tree4a49b97c34554d671735fc20903064a91cb7b2ef
parent5aa76ac91ef78bbad7633126cf4e9a42a4730eb1 (diff)
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
-rw-r--r--src/modules/m_spanningtree.cpp9
1 files changed, 6 insertions, 3 deletions
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 */