From 84edefedf8e3688f618f0dde8169d6ee18624e6e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 23:43:37 +0300 Subject: Move chat command /error into actions. --- src/actions/actions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 2514ac180..d803de671 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -884,4 +884,11 @@ impHandler0(serverUnIgnoreAll) return true; } +impHandler0(error) +{ + const int *const ptr = nullptr; + logger->log("test %d", *ptr); + exit(1); +} + } // namespace Actions -- cgit v1.2.3-70-g09d2