From 56178bf525b07582389493158ac90e2ab7721571 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 16:41:00 +0300 Subject: Move chat command /hack into actions. --- src/actions/commands.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index fb4577719..bb174cb07 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -680,4 +680,10 @@ impHandler(gm) return true; } +impHandler(hack) +{ + Net::getChatHandler()->sendRaw(event.args); + return true; +} + } // namespace Actions -- cgit v1.2.3-60-g2f50