summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 36b3d712c..f427b478c 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -525,7 +525,7 @@ bool CommandParser::ReloadCommand(std::string cmd, User* user)
return false;
}
-CmdResult cmd_reload::Handle(const std::vector<std::string>& parameters, User *user)
+CmdResult CommandReload::Handle(const std::vector<std::string>& parameters, User *user)
{
if (parameters.size() < 1)
return CMD_FAILURE;
@@ -606,7 +606,7 @@ void CommandParser::SetupCommandTable()
}
if (cmdlist.find("RELOAD") == cmdlist.end())
- this->CreateCommand(new cmd_reload(ServerInstance));
+ this->CreateCommand(new CommandReload(ServerInstance));
}
int CommandParser::TranslateUIDs(TranslateType to, const std::string &source, std::string &dest)