From 90046d44987b20f42d689a8b046b0d3e8d2454af Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 24 Jul 2012 16:18:34 +0200 Subject: m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't accept uids, like in cmd_whois) --- src/modules/m_spanningtree/override_whois.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/override_whois.cpp') diff --git a/src/modules/m_spanningtree/override_whois.cpp b/src/modules/m_spanningtree/override_whois.cpp index 2be492e10..ad8c6a6ef 100644 --- a/src/modules/m_spanningtree/override_whois.cpp +++ b/src/modules/m_spanningtree/override_whois.cpp @@ -34,7 +34,7 @@ ModResult ModuleSpanningTree::HandleRemoteWhois(const std::vector& { if ((IS_LOCAL(user)) && (parameters.size() > 1)) { - User* remote = ServerInstance->FindNick(parameters[1]); + User* remote = ServerInstance->FindNickOnly(parameters[1]); if (remote && !IS_LOCAL(remote)) { parameterlist params; -- cgit v1.2.3