diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-09 18:36:49 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-09 18:36:49 +0200 |
commit | 01b71ef43f9413c5f0ee2fc3e484ef6e7bdeb1f6 (patch) | |
tree | bc250ba58be29fb1c102fe56d0ac58459c26ee60 /src/modules | |
parent | 8c4dfd8add09cddc83faa5007317b851ae21d529 (diff) |
Move most whois related code from the core into cmd_whois
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/idle.cpp | 8 |
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 ¶ms) 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 { |