summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}