summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 23:39:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 23:39:49 +0300
commit8314a1808ff96ec8990c4d9055cad41c05f07dc2 (patch)
treed541d529516c9624e921d9ad6b5ec418cd69c33f /src/commands.h
parent9f39b5c84d0b244e093380e5ad7d53c2a21d2f34 (diff)
downloadplus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.gz
plus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.bz2
plus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.xz
plus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.zip
Move chat command /setdrop 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 6b7ec8401..d91b7345a 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(setDrop);
decHandler(error) __attribute__ ((noreturn));
decHandler(url);
decHandler(open);
@@ -85,8 +84,7 @@ namespace Commands
enum
{
- COMMAND_SETDROP = 0,
- COMMAND_ERROR,
+ COMMAND_ERROR = 0,
COMMAND_DUMPG,
COMMAND_DUMPE,
COMMAND_DUMPT,
@@ -118,7 +116,6 @@ enum
static const CommandInfo commands[] =
{
- {"setdrop", &Commands::setDrop, -1, true},
{"error", &Commands::error, -1, false},
{"dumpg", &Commands::dumpGraphics, -1, false},
{"dumpe", &Commands::dumpEnvironment, -1, false},