mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02: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
1 changed files with 4 additions and 0 deletions
|
|
@ -83,6 +83,10 @@ static void cmd_set(char *data)
|
||||||
"set", &optlist, &key, &value))
|
"set", &optlist, &key, &value))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (*key == '\0') {
|
||||||
|
cmd_params_free(free_arg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
clear = g_hash_table_lookup(optlist, "clear") != NULL;
|
clear = g_hash_table_lookup(optlist, "clear") != NULL;
|
||||||
set_default = g_hash_table_lookup(optlist, "default") != NULL;
|
set_default = g_hash_table_lookup(optlist, "default") != NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue