summaryrefslogtreecommitdiff
path: root/src/cmd_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_part.cpp')
-rw-r--r--src/cmd_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_part.cpp b/src/cmd_part.cpp
index 9088ec21d..18e8d19d9 100644
--- a/src/cmd_part.cpp
+++ b/src/cmd_part.cpp
@@ -19,12 +19,12 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
return new cmd_part(Instance);
}
-CmdResult cmd_part::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_part::Handle (const char** parameters, int pcnt, User *user)
{
if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0))
return CMD_SUCCESS;
- chanrec* c = ServerInstance->FindChan(parameters[0]);
+ Channel* c = ServerInstance->FindChan(parameters[0]);
if (c)
{