summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-24 17:18:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-24 17:18:27 +0300
commitefa45459a4d79cf1adba3327f6dad02fc5aa55cd (patch)
treef9d6022981235006d34f6352bb13535ee7d72a56 /src/commands.h
parentf5651bc452096c8cd84d7c801228d64af3a165d2 (diff)
downloadmanaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.gz
manaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.bz2
manaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.xz
manaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.zip
Move chat command /friend into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/commands.h b/src/commands.h
index 2c8d08805..41ee05818 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -59,7 +59,6 @@ namespace Commands
decHandler(me);
decHandler(toggle);
decHandler(present);
- decHandler(beFriend);
decHandler(disregard);
decHandler(neutral);
decHandler(blackList);
@@ -132,9 +131,7 @@ namespace Commands
enum
{
- COMMAND_FRIEND = 0,
- COMMAND_BEFRIEND,
- COMMAND_DISREGARD,
+ COMMAND_DISREGARD = 0,
COMMAND_NEUTRAL,
COMMAND_BLACKLIST,
COMMAND_ENEMY,
@@ -214,8 +211,6 @@ enum
static const CommandInfo commands[] =
{
- {"friend", Commands::beFriend, -1, true},
- {"befriend", &Commands::beFriend, -1, true},
{"disregard", &Commands::disregard, -1, true},
{"neutral", &Commands::neutral, -1, true},
{"blacklist", &Commands::blackList, -1, true},