mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/SET -default fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3277 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9e37659926
commit
e4f6e3dc75
@ -94,7 +94,7 @@ static void cmd_set(char *data)
|
||||
for (tmp = sets; tmp != NULL; tmp = tmp->next) {
|
||||
SETTINGS_REC *rec = tmp->data;
|
||||
|
||||
if (((clear || *value != '\0') && g_strcasecmp(rec->key, key) != 0) ||
|
||||
if (((clear || set_default || *value != '\0') && g_strcasecmp(rec->key, key) != 0) ||
|
||||
(*value == '\0' && *key != '\0' && stristr(rec->key, key) == NULL))
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user