diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 23:43:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 23:44:11 +0300 |
commit | 84edefedf8e3688f618f0dde8169d6ee18624e6e (patch) | |
tree | d54e877cdb20ff88f998f4f07647a30fbb738177 /src/commands.h | |
parent | 8314a1808ff96ec8990c4d9055cad41c05f07dc2 (diff) | |
download | mv-84edefedf8e3688f618f0dde8169d6ee18624e6e.tar.gz mv-84edefedf8e3688f618f0dde8169d6ee18624e6e.tar.bz2 mv-84edefedf8e3688f618f0dde8169d6ee18624e6e.tar.xz mv-84edefedf8e3688f618f0dde8169d6ee18624e6e.zip |
Move chat command /error into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands.h b/src/commands.h index d91b7345a..9cfb87d98 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(error) __attribute__ ((noreturn)); decHandler(url); decHandler(open); decHandler(dumpGraphics); @@ -84,8 +83,7 @@ namespace Commands enum { - COMMAND_ERROR = 0, - COMMAND_DUMPG, + COMMAND_DUMPG = 0, COMMAND_DUMPE, COMMAND_DUMPT, COMMAND_DUMPOGL, @@ -116,7 +114,6 @@ enum static const CommandInfo commands[] = { - {"error", &Commands::error, -1, false}, {"dumpg", &Commands::dumpGraphics, -1, false}, {"dumpe", &Commands::dumpEnvironment, -1, false}, {"dumpt", &Commands::dumpTests, -1, false}, |