summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index df39864b5..5d43df608 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1656,8 +1656,9 @@ class TreeSocket : public InspSocket
if (!created)
{
param_list.push_back(channel);
- this->RemoveStatus(Instance->Config->ServerName, param_list);
+ /* Do this first! */
chan->age = TS;
+ this->RemoveStatus(Instance->Config->ServerName, param_list);
}
}
@@ -2927,8 +2928,7 @@ class TreeSocket : public InspSocket
Instance->Log(DEBUG,"Stacked line size %d",stackresult.size());
stackresult.push_front(ConvToStr(c->age));
stackresult.push_front(c->name);
- // dont echo this out, at best its just going to be bounced back -- Brain
- //Utils->DoOneToMany(Instance->Config->ServerName, "FMODE", stackresult);
+ Utils->DoOneToMany(Instance->Config->ServerName, "FMODE", stackresult);
stackresult.erase(stackresult.begin() + 1);
Instance->Log(DEBUG,"Stacked items:");
for (size_t z = 0; z < stackresult.size(); z++)