summaryrefslogtreecommitdiff
path: root/src/commands.h
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/commands.h
parent7891954d9767df4fc4ecf1c44830ca9c18a34e10 (diff)
downloadplus-56178bf525b07582389493158ac90e2ab7721571.tar.gz
plus-56178bf525b07582389493158ac90e2ab7721571.tar.bz2
plus-56178bf525b07582389493158ac90e2ab7721571.tar.xz
plus-56178bf525b07582389493158ac90e2ab7721571.zip
Move chat command /hack into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands.h b/src/commands.h
index caace74f4..1a6009101 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(hack);
decHandler(debugSpawn);
void replaceVars(std::string &str);
@@ -59,14 +58,12 @@ namespace Commands
enum
{
- COMMAND_HACK = 0,
- COMMAND_DEBUGSPAWN,
+ COMMAND_DEBUGSPAWN = 0,
END_COMMANDS
};
static const CommandInfo commands[] =
{
- {"hack", &Commands::hack, -1, true},
{"debugSpawn", &Commands::debugSpawn, -1, true}
};