From efa45459a4d79cf1adba3327f6dad02fc5aa55cd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Aug 2014 17:18:27 +0300 Subject: Move chat command /friend into actions. --- src/actions/commands.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 7e3d46446..0c029fa54 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -184,4 +184,11 @@ impHandler(chatUnignore) return true; } +impHandler(chatFriend) +{ + // TRANSLATORS: adding friend command + changeRelation(event.args, PlayerRelation::FRIEND, _("friend"), event.tab); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2