summaryrefslogtreecommitdiff
path: root/src/cmd_version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_version.cpp')
-rw-r--r--src/cmd_version.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_version.cpp b/src/cmd_version.cpp
index c355717f7..86fde3210 100644
--- a/src/cmd_version.cpp
+++ b/src/cmd_version.cpp
@@ -21,7 +21,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
return new cmd_version(Instance);
}
-CmdResult cmd_version::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_version::Handle (const char** parameters, int pcnt, User *user)
{
user->WriteServ("351 %s :%s",user->nick,ServerInstance->GetVersionString().c_str());
ServerInstance->Config->Send005(user);