summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp7
-rw-r--r--src/actions/commands.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index c63e8a439..aba86a87f 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -198,4 +198,11 @@ impHandler(chatDisregard)
return true;
}
+impHandler(chatNeutral)
+{
+ // TRANSLATORS: neutral command
+ changeRelation(event.args, PlayerRelation::NEUTRAL, _("neutral"), event.tab);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 356b0d7e2..32a8155c7 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -32,6 +32,7 @@ namespace Actions
decHandler(chatUnignore);
decHandler(chatFriend);
decHandler(chatDisregard);
+ decHandler(chatNeutral);
} // namespace Actions
#undef decHandler