diff options
| author | 2012-07-04 23:02:28 +0200 | |
|---|---|---|
| committer | 2013-04-12 21:03:04 +0200 | |
| commit | a04e586eb51b90d71cb76a2605ca9e194fb21b30 (patch) | |
| tree | bcfc04512ee11214be58432458d7d22005db536d /src/modules/m_spanningtree/protocolinterface.cpp | |
| parent | m_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/protocolinterface.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/protocolinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp index 3ab5dae9d..0440823e6 100644 --- a/src/modules/m_spanningtree/protocolinterface.cpp +++ b/src/modules/m_spanningtree/protocolinterface.cpp @@ -145,7 +145,7 @@ void SpanningTreeProtocolInterface::SendChannel(Channel* target, char status, co Utils->GetListOfServersForChannel(target,list,status,exempt_list); for (TreeServerList::iterator i = list.begin(); i != list.end(); i++) { - TreeSocket* Sock = i->second->GetSocket(); + TreeSocket* Sock = (*i)->GetSocket(); if (Sock) Sock->WriteLine(text); } |
