summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 23:43:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 23:44:11 +0300
commit84edefedf8e3688f618f0dde8169d6ee18624e6e (patch)
treed54e877cdb20ff88f998f4f07647a30fbb738177 /src/commands.h
parent8314a1808ff96ec8990c4d9055cad41c05f07dc2 (diff)
downloadplus-84edefedf8e3688f618f0dde8169d6ee18624e6e.tar.gz
plus-84edefedf8e3688f618f0dde8169d6ee18624e6e.tar.bz2
plus-84edefedf8e3688f618f0dde8169d6ee18624e6e.tar.xz
plus-84edefedf8e3688f618f0dde8169d6ee18624e6e.zip
Move chat command /error 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 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},