summaryrefslogtreecommitdiff
path: root/src/cmd_mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_mode.cpp')
-rw-r--r--src/cmd_mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_mode.cpp b/src/cmd_mode.cpp
index e5240b00d..e0d3b4242 100644
--- a/src/cmd_mode.cpp
+++ b/src/cmd_mode.cpp
@@ -16,12 +16,12 @@
extern "C" DllExport Command* init_command(InspIRCd* Instance)
{
- return new cmd_mode(Instance);
+ return new CommandMode(Instance);
}
/** Handle /MODE
*/
-CmdResult cmd_mode::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandMode::Handle (const char** parameters, int pcnt, User *user)
{
ServerInstance->Modes->Process(parameters, pcnt, user, false);
return CMD_SUCCESS;