From 73f5a4c3512e7f2b615bb801c6904db4c47c1946 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Dec 2005 15:02:40 +0000 Subject: Added debugging plus remote WHOIS fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2289 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index adb0510ab..8f4ec7477 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1366,13 +1366,15 @@ class TreeSocket : public InspSocket { if (params.size() < 1) return true; + log(DEBUG,"In IDLE command"); userrec* u = Srv->FindNick(prefix); if (u) { + log(DEBUG,"USER EXISTS: %s",u->nick); // an incoming request if (params.size() == 1) { - if (std::string(u->server) == Srv->GetServerName()) + if (std::string(u->server) != Srv->GetServerName()) { log(DEBUG,"Got IDLE, sending back IDLE"); char signon[MAXBUF]; -- cgit v1.2.3