From a86c9ba98e3fecbff1948fa145626b60e5000926 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 13:22:33 +0000 Subject: Extra debug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2051 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 5 +++-- 1 file 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; -- cgit v1.2.3