summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:41:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:41:00 +0300
commit56178bf525b07582389493158ac90e2ab7721571 (patch)
tree42a1696e108453eaad3e80ca68151c7f8b10e8fd /src/actions/commands.cpp
parent7891954d9767df4fc4ecf1c44830ca9c18a34e10 (diff)
downloadmv-56178bf525b07582389493158ac90e2ab7721571.tar.gz
mv-56178bf525b07582389493158ac90e2ab7721571.tar.bz2
mv-56178bf525b07582389493158ac90e2ab7721571.tar.xz
mv-56178bf525b07582389493158ac90e2ab7721571.zip
Move chat command /hack into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp6
1 files changed, 6 insertions, 0 deletions
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