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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_version.cpp b/src/cmd_version.cpp
index 86fde3210..19bb9e4af 100644
--- a/src/cmd_version.cpp
+++ b/src/cmd_version.cpp
@@ -18,10 +18,10 @@
extern "C" DllExport Command* init_command(InspIRCd* Instance)
{
- return new cmd_version(Instance);
+ return new CommandVersion(Instance);
}
-CmdResult cmd_version::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandVersion::Handle (const char** parameters, int pcnt, User *user)
{
user->WriteServ("351 %s :%s",user->nick,ServerInstance->GetVersionString().c_str());
ServerInstance->Config->Send005(user);