summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 8cb71739b..2119bdb50 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -146,11 +146,8 @@ static void changeRelation(const std::string &args,
if (args.empty())
{
- if (tab)
- {
- // TRANSLATORS: change relation
- tab->chatLog(_("Please specify a name."), BY_SERVER);
- }
+ // TRANSLATORS: change relation
+ tab->chatLog(_("Please specify a name."), BY_SERVER);
return;
}