mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
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
This commit is contained in:
parent
115a7fc355
commit
fe5ebc57a9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user