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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd_whois.cpp b/src/cmd_whois.cpp
index 508200cb6..f861dde36 100644
--- a/src/cmd_whois.cpp
+++ b/src/cmd_whois.cpp
@@ -15,7 +15,7 @@
#include "commands/cmd_whois.h"
#include "hashcomp.h"
-void do_whois(InspIRCd* ServerInstance, userrec* user, userrec* dest,unsigned long signon, unsigned long idle, const char* nick)
+void do_whois(InspIRCd* ServerInstance, User* user, User* dest,unsigned long signon, unsigned long idle, const char* nick)
{
if (dest->Visibility && !dest->Visibility->VisibleTo(user))
{
@@ -91,9 +91,9 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
return new cmd_whois(Instance);
}
-CmdResult cmd_whois::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_whois::Handle (const char** parameters, int pcnt, User *user)
{
- userrec *dest;
+ User *dest;
int userindex = 0;
unsigned long idle = 0, signon = 0;