mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Don't die with "/SET -default"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3212 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
217283caea
commit
566485c3ab
@ -83,6 +83,10 @@ 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user