diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-24 16:18:34 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-10-03 00:30:01 +0200 |
commit | 90046d44987b20f42d689a8b046b0d3e8d2454af (patch) | |
tree | 24fce294a511b90a28ea3c31c724d8f77d7a6e56 /src/modules | |
parent | b998720a5f6f66e80c88a5448435943d5927abf3 (diff) |
m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't accept uids, like in cmd_whois)
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/override_whois.cpp | 2 |
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; |