summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/idle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/idle.cpp')
-rw-r--r--src/modules/m_spanningtree/idle.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/modules/m_spanningtree/idle.cpp b/src/modules/m_spanningtree/idle.cpp
index 70453b975..5aa268a9e 100644
--- a/src/modules/m_spanningtree/idle.cpp
+++ b/src/modules/m_spanningtree/idle.cpp
@@ -63,13 +63,7 @@ bool TreeSocket::Whois(const std::string &prefix, parameterlist &params)
if ((who_to_send_to) && (IS_LOCAL(who_to_send_to)))
{
// an incoming reply to a whois we sent out
- std::string nick_whoised = prefix;
- unsigned long signon = atoi(params[1].c_str());
- unsigned long idle = atoi(params[2].c_str());
- if ((who_to_send_to) && (IS_LOCAL(who_to_send_to)))
- {
- ServerInstance->DoWhois(who_to_send_to, u, signon, idle, nick_whoised.c_str());
- }
+ ServerInstance->Parser->CallHandler("WHOIS", params, u);
}
else
{