summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp7
1 files changed, 7 insertions, 0 deletions
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