summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSimmo Saan <simmo.saan@gmail.com>2019-02-23 13:37:46 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-02-23 13:37:46 +0100
commitc84ac65954d5c726b719111d2da7e852d82a3c1b (patch)
tree738da7392f5e8b436c7180036fed9399882251c6 /src/gui
parent525417c2c6061ce40afeb1c9ac01f6322284f91e (diff)
downloadweechat-c84ac65954d5c726b719111d2da7e852d82a3c1b.zip
core: add /filter addreplace (closes #1055)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-filter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c
index 325c851ff..349ac8f75 100644
--- a/src/gui/gui-filter.c
+++ b/src/gui/gui-filter.c
@@ -303,7 +303,9 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name,
if (gui_filter_search_by_name (name))
{
gui_filter_new_error (name,
- _("a filter with same name already exists"));
+ _("a filter with same name already exists "
+ "(choose another name or use option "
+ "\"addreplace\" to overwrite it)"));
return NULL;
}