1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

/SET without parameters didn't print all settings

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3231 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2004-03-23 19:20:45 +00:00 committed by cras
parent f08020571b
commit 65ec62333e

View File

@ -83,13 +83,12 @@ static void cmd_set(char *data)
"set", &optlist, &key, &value))
return;
if (*key == '\0') {
cmd_params_free(free_arg);
return;
}
clear = g_hash_table_lookup(optlist, "clear") != NULL;
set_default = g_hash_table_lookup(optlist, "default") != NULL;
if (*key == '\0')
clear = set_default = FALSE;
last_section = ""; found = 0;
sets = settings_get_sorted();
for (tmp = sets; tmp != NULL; tmp = tmp->next) {