aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index c6afe8f86..2c1827841 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -168,8 +168,9 @@ CmdResult CommandParser::CallHandler(const std::string &commandname, const std::
return CMD_INVALID;
}
-bool CommandParser::ProcessCommand(LocalUser *user, std::string &cmd)
+bool CommandParser::ProcessCommand(LocalUser *user, const std::string &cmd)
{
+ CrashState cmd_tracer(HERE_STR, cmd.c_str());
std::vector<std::string> command_p;
irc::tokenstream tokens(cmd);
std::string command, token;