diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:41:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:41:00 +0300 |
commit | 56178bf525b07582389493158ac90e2ab7721571 (patch) | |
tree | 42a1696e108453eaad3e80ca68151c7f8b10e8fd /src/actions/commands.cpp | |
parent | 7891954d9767df4fc4ecf1c44830ca9c18a34e10 (diff) | |
download | manaplus-56178bf525b07582389493158ac90e2ab7721571.tar.gz manaplus-56178bf525b07582389493158ac90e2ab7721571.tar.bz2 manaplus-56178bf525b07582389493158ac90e2ab7721571.tar.xz manaplus-56178bf525b07582389493158ac90e2ab7721571.zip |
Move chat command /hack into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 6 |
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 |