summaryrefslogtreecommitdiff
path: root/src/cmd_whois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_whois.cpp')
-rw-r--r--src/cmd_whois.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_whois.cpp b/src/cmd_whois.cpp
index e44757e6d..1f4a402b2 100644
--- a/src/cmd_whois.cpp
+++ b/src/cmd_whois.cpp
@@ -104,8 +104,9 @@ void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long i
void cmd_whois::Handle (const char** parameters, int pcnt, userrec *user)
{
userrec *dest;
- if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,pcnt-1,0))
+ if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0))
return;
+
dest = Find(parameters[0]);
if (dest)
{