From 645f0aa63434f4773aaf880b4d3bba7bb1dc240e Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 5 Apr 2008 16:25:11 +0000 Subject: Fix IDLE sending a nick rather than a uid. Atheme should probably put a check in too, but its now low priority git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9357 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/override_whois.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree/override_whois.cpp b/src/modules/m_spanningtree/override_whois.cpp index f0d8139a3..c846794f3 100644 --- a/src/modules/m_spanningtree/override_whois.cpp +++ b/src/modules/m_spanningtree/override_whois.cpp @@ -41,7 +41,7 @@ int ModuleSpanningTree::HandleRemoteWhois(const char* const* parameters, int pcn if ((remote) && (remote->GetFd() < 0)) { std::deque params; - params.push_back(parameters[1]); + params.push_back(remote->uuid); Utils->DoOneToOne(user->uuid,"IDLE",params,remote->server); return 1; } -- cgit v1.2.3