summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp6
-rw-r--r--src/actions/commands.h1
2 files changed, 7 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
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 06e288d7a..cc9a0e172 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -69,6 +69,7 @@ namespace Actions
decHandler(talkRaw);
decHandler(talkPet);
decHandler(gm);
+ decHandler(hack);
} // namespace Actions
#undef decHandler