summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-27 14:45:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-27 14:45:05 +0000
commit565b91d7e5d9ca4a86d5761173b10a32009d508c (patch)
tree135654285074b318a5144d304c83d129eff68386
parent080a9f5d2431f728c30edab6d4871549d8bc57da (diff)
Extra output during sync to know if we're receving the other end's netburst or not
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3363 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 636d7e895..b11048a40 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2237,6 +2237,7 @@ class TreeSocket : public InspSocket
params.push_back(":"+InboundDescription);
DoOneToAllButSender(TreeRoot->GetName(),"SERVER",params,InboundServerName);
this->bursting = true;
+ WriteOpers("*** Received start of netburst from \2%s\2",InboundServerName.c_str());
this->DoBurst(Node);
}
else if (command == "ERROR")
@@ -2459,6 +2460,12 @@ class TreeSocket : public InspSocket
{
this->bursting = false;
apply_lines(APPLY_ZLINES|APPLY_GLINES|APPLY_QLINES);
+ std::string sourceserv = this->myhost;
+ if (this->InboundServerName != "")
+ {
+ sourceserv = this->InboundServerName;
+ }
+ WriteOpers("*** Received end of netburst from \2%s\2",sourceserv.c_str());
return true;
}
else