diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-14 12:56:20 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-14 12:56:20 +0100 |
commit | 146d85b5dea9ecb803a9a47c68b5489905634125 (patch) | |
tree | c8156a5db6cb0afaf5310a59d8c1a7c4ab6de838 /src/modules/m_spanningtree | |
parent | dd94ac5e3c6485c294394cc18cbc4228510e7a47 (diff) |
Add InspIRCd::GetChans(), remove ChannelCount()
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/netburst.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index aa25fcf68..93b4d72f4 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -118,7 +118,8 @@ void TreeSocket::DoBurst(TreeServer* s) /* Send users and their oper status */ this->SendUsers(bs); - for (chan_hash::const_iterator i = ServerInstance->chanlist->begin(); i != ServerInstance->chanlist->end(); ++i) + const chan_hash& chans = ServerInstance->GetChans(); + for (chan_hash::const_iterator i = chans.begin(); i != chans.end(); ++i) SyncChannel(i->second, bs); this->SendXLines(); |