From 097abb965f40ff4d406462fb5bfeb84683200d17 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 25 Aug 2010 20:24:33 -0400 Subject: Add CrashState for tracing basic call state when the stack is corrupt --- src/command_parse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/command_parse.cpp') 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 command_p; irc::tokenstream tokens(cmd); std::string command, token; -- cgit v1.3.1-10-gc9f91