summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2009-02-21 17:22:32 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-02-21 17:22:32 +0000
commitfe5ebc57a9a8edb0f3891748cd5a120aed451493 (patch)
treed1e391cb1ea8e114f136bc4d64bd2814a5ee57b9 /src/fe-common
parent115a7fc355d5dd9aeb4714d46809ea774512ff82 (diff)
downloadirssi-fe5ebc57a9a8edb0f3891748cd5a120aed451493.zip
Make an invalid boolean /set a CLIENTERROR instead of CLIENTCRAP.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5018 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c
index 1f3277f6..92cf61ab 100644
--- a/src/fe-common/core/fe-settings.c
+++ b/src/fe-common/core/fe-settings.c
@@ -73,7 +73,7 @@ static void set_boolean(const char *key, const char *value)
else if (g_ascii_strcasecmp(value, "TOGGLE") == 0)
settings_set_bool(key, !settings_get_bool(key));
else
- printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_NOT_TOGGLE);
+ printformat(NULL, NULL, MSGLEVEL_CLIENTERROR, TXT_NOT_TOGGLE);
}
static void set_int(const char *key, const char *value)