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 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<std::string>&
{
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;