aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2012-07-04 23:02:28 +0200
committerGravatar attilamolnar2013-04-12 21:03:04 +0200
commita04e586eb51b90d71cb76a2605ca9e194fb21b30 (patch)
treebcfc04512ee11214be58432458d7d22005db536d /src/modules/m_spanningtree/postcommand.cpp
parentm_spanningtree Utils: Move code that creates a full line from its components ... (diff)
m_spanningtree Change TreeServerList to be a set, get rid of a function dedicated to adding entries to it
Diffstat (limited to 'src/modules/m_spanningtree/postcommand.cpp')
-rw-r--r--src/modules/m_spanningtree/postcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp
index b91435eee..36f326114 100644
--- a/src/modules/m_spanningtree/postcommand.cpp
+++ b/src/modules/m_spanningtree/postcommand.cpp
@@ -121,7 +121,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, const std::string &
data += " " + params[x];
for (TreeServerList::iterator i = list.begin(); i != list.end(); i++)
{
- TreeSocket* Sock = i->second->GetSocket();
+ TreeSocket* Sock = (*i)->GetSocket();
if (origin && origin->GetSocket() == Sock)
continue;
if (Sock)