diff options
Diffstat (limited to 'src/commandHandler.hpp')
| -rw-r--r-- | src/commandHandler.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandHandler.hpp b/src/commandHandler.hpp index 8d97fd5..a69011e 100644 --- a/src/commandHandler.hpp +++ b/src/commandHandler.hpp @@ -33,7 +33,7 @@ class CCommandHandler { // return false if command struct is invalid bool registerCommand(const SCommand &command); SResult newCommand(const std::string &command, const std::string &args) const; - void handleCommand(std::string input, const char ip[INET_ADDRSTRLEN] = {}) const; + void handleCommand(std::string input, const std::string &ip = {}) const; template <typename T> struct SMakeCommandArgs { |
