diff options
author | Peter Powell <petpow@saberuk.com> | 2019-09-23 12:44:42 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-09-23 13:18:21 +0100 |
commit | 65f74be719bf249f4bc93e09670ee07410ecec96 (patch) | |
tree | de7cda47955ab4876db23ff3d59081bc6b85e720 /src/modules/m_spanningtree/treeserver.cpp | |
parent | cf5d382b822cecd54fdbc77e4c1c4de8a8aa3c35 (diff) |
Add the OnServerBurst hook and fix the docs for OnServerLink.
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.cpp')
-rw-r--r-- | src/modules/m_spanningtree/treeserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp index c463ef1c8..6fb6705ba 100644 --- a/src/modules/m_spanningtree/treeserver.cpp +++ b/src/modules/m_spanningtree/treeserver.cpp @@ -167,6 +167,7 @@ void TreeServer::FinishBurst() unsigned long bursttime = ts - this->StartBurst; ServerInstance->SNO->WriteToSnoMask(Parent == Utils->TreeRoot ? 'l' : 'L', "Received end of netburst from \002%s\002 (burst time: %lu %s)", GetName().c_str(), (bursttime > 10000 ? bursttime / 1000 : bursttime), (bursttime > 10000 ? "secs" : "msecs")); + FOREACH_MOD_CUSTOM(Utils->Creator->GetLinkEventProvider(), ServerProtocol::LinkEventListener, OnServerBurst, (this)); StartBurst = 0; FinishBurstInternal(); |