summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-05 16:25:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-05 16:25:11 +0000
commit645f0aa63434f4773aaf880b4d3bba7bb1dc240e (patch)
tree13dfeaab63ff576a53a9b92beada5514e9ea699c /src/modules/m_spanningtree
parentefce1ce1e7b05610bf765cafa82cc7618ed4872a (diff)
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
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/override_whois.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> params;
- params.push_back(parameters[1]);
+ params.push_back(remote->uuid);
Utils->DoOneToOne(user->uuid,"IDLE",params,remote->server);
return 1;
}