diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-24 17:18:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-24 17:18:27 +0300 |
commit | efa45459a4d79cf1adba3327f6dad02fc5aa55cd (patch) | |
tree | f9d6022981235006d34f6352bb13535ee7d72a56 /src/commands.h | |
parent | f5651bc452096c8cd84d7c801228d64af3a165d2 (diff) | |
download | manaplus-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.gz manaplus-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.bz2 manaplus-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.xz manaplus-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.zip |
Move chat command /friend into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 7 |
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}, |