summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 3 insertions, 1 deletions
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];