diff options
Diffstat (limited to 'src/coremods/core_oper')
-rw-r--r-- | src/coremods/core_oper/cmd_kill.cpp | 2 | ||||
-rw-r--r-- | src/coremods/core_oper/core_oper.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_oper/cmd_kill.cpp b/src/coremods/core_oper/cmd_kill.cpp index 8a453f7f1..20bbe5a26 100644 --- a/src/coremods/core_oper/cmd_kill.cpp +++ b/src/coremods/core_oper/cmd_kill.cpp @@ -136,7 +136,7 @@ RouteDescriptor CommandKill::GetRouting(User* user, const std::vector<std::strin } -void CommandKill::EncodeParameter(std::string& param, int index) +void CommandKill::EncodeParameter(std::string& param, unsigned int index) { // Manually translate the nick -> uuid (see above), and also the reason (params[1]) // because we decorate it if the oper is local and want remote servers to see the diff --git a/src/coremods/core_oper/core_oper.h b/src/coremods/core_oper/core_oper.h index 338a369f5..619fdf1fa 100644 --- a/src/coremods/core_oper/core_oper.h +++ b/src/coremods/core_oper/core_oper.h @@ -74,7 +74,7 @@ class CommandKill : public Command CmdResult Handle(const std::vector<std::string>& parameters, User* user); RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters); - void EncodeParameter(std::string& param, int index); + void EncodeParameter(std::string& param, unsigned int index); }; /** Handle /OPER. |