mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
Let ADD still work as modify
This commit is contained in:
parent
054a98b0ac
commit
79e30405e6
3 changed files with 3 additions and 3 deletions
|
|
@ -112,7 +112,7 @@ static void cmd_network_add_modify(const char *data, gboolean add)
|
|||
|
||||
rec = g_new0(IRC_CHATNET_REC, 1);
|
||||
rec->name = g_strdup(name);
|
||||
} else if (!add) {
|
||||
} else {
|
||||
if (g_hash_table_lookup(optlist, "nick")) g_free_and_null(rec->nick);
|
||||
if (g_hash_table_lookup(optlist, "user")) g_free_and_null(rec->username);
|
||||
if (g_hash_table_lookup(optlist, "realname")) g_free_and_null(rec->realname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue