summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 13:22:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 13:22:33 +0000
commita86c9ba98e3fecbff1948fa145626b60e5000926 (patch)
treec4411e2d5fdc4a72c44593bebdf476c264d7b981 /src/modules/m_spanningtree.cpp
parente7f4cc66f1beb9ebab8b7415b4a56f81b3eb0c0b (diff)
Extra debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2051 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index af800ec7d..f2ffc1116 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -556,9 +556,10 @@ class TreeSocket : public InspSocket
if (iter != clientlist.end())
{
// nick collision
- log(DEBUG,"Nick collision on %s!%s@%s",tempnick,ident.c_str(),host.c_str());
+ log(DEBUG,"Nick collision on %s!%s@%s: %lu %lu",tempnick,ident.c_str(),host.c_str(),(unsigned long)age,(unsigned long)iter->second->age);
if (age <= iter->second->age)
{
+ log (DEBUG,"*** COLLISION: Remote client is older");
// remote client is older
// if hosts are identical, kill the remote,
// else kill the local. We must send KILL for
@@ -580,7 +581,7 @@ class TreeSocket : public InspSocket
}
else
{
- log(DEBUG,"*** LOCATION THREE");
+ log(DEBUG,"*** COLLISION: Remote client is newer");
// remote is newer, kill it and bail to stop it being introduced
this->WriteLine(":"+Srv->GetServerName()+" KILL "+tempnick+" :Killed (Nickname collision from "+Srv->GetServerName()+")");
return true;