]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/override_whois.cpp
Move QuitUser into UserManager class, and unstaticize it. This prepares for some...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / override_whois.cpp
index f0d8139a3bca257de9d2196a4645f4deb622df5e..c846794f3aead03b7a4436d89b1967b8cfa274b0 100644 (file)
@@ -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;
                }