diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-15 21:44:44 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-15 21:44:44 +0000 |
commit | 423d9be3b1d09607ce82d09dbb6414a8b5f006c8 (patch) | |
tree | f4261934fd83ec9e9757afaa89e5b9e9b8f37b78 /src/modules/m_spanningtree | |
parent | 01c23b31f7d0ea87052cd22814af826ecb11f0f3 (diff) |
Make end of netburst SNOMASK REMOTELINK unless servers are directly linked [jackmcbarn]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11731 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/treeserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp index a07d540bc..567d44858 100644 --- a/src/modules/m_spanningtree/treeserver.cpp +++ b/src/modules/m_spanningtree/treeserver.cpp @@ -145,7 +145,7 @@ void TreeServer::FinishBurst() gettimeofday(&t, NULL); long ts = (t.tv_sec * 1000) + (t.tv_usec / 1000); unsigned long bursttime = ts - this->StartBurst; - ServerInstance->SNO->WriteToSnoMask('l', "Received end of netburst from \2%s\2 (burst time: %lu %s)", + ServerInstance->SNO->WriteToSnoMask(Parent == Utils->TreeRoot ? 'l' : 'L', "Received end of netburst from \2%s\2 (burst time: %lu %s)", ServerName.c_str(), (bursttime > 10000 ? bursttime / 1000 : bursttime), (bursttime > 10000 ? "secs" : "msecs")); Event rmode((char*)ServerName.c_str(), (Module*)Utils->Creator, "new_server"); rmode.Send(ServerInstance); |