summaryrefslogtreecommitdiff
path: root/src/cmd_userhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_userhost.cpp')
-rw-r--r--src/cmd_userhost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_userhost.cpp b/src/cmd_userhost.cpp
index dd1a2d819..78d435a39 100644
--- a/src/cmd_userhost.cpp
+++ b/src/cmd_userhost.cpp
@@ -19,14 +19,14 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
return new cmd_userhost(Instance);
}
-CmdResult cmd_userhost::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_userhost::Handle (const char** parameters, int pcnt, User *user)
{
std::string retbuf = std::string("302 ") + user->nick + " :";
for (int i = 0; i < pcnt; i++)
{
- userrec *u = ServerInstance->FindNick(parameters[i]);
+ User *u = ServerInstance->FindNick(parameters[i]);
if ((u) && (u->registered == REG_ALL))
{