mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
can do /server add -matrix -network my_matrix_network
By Andrej Kacian
This commit is contained in:
parent
ca9fcbc124
commit
f147589e52
@ -91,7 +91,9 @@ static SERVER_SETUP_REC *create_server_setup(GHashTable *optlist)
|
||||
if (rec == NULL)
|
||||
rec = chat_protocol_get_default();
|
||||
else {
|
||||
chatnet = g_hash_table_lookup(optlist, rec->chatnet);
|
||||
chatnet = g_hash_table_lookup(optlist, "network");
|
||||
if (chatnet == NULL && g_hash_table_lookup(optlist, rec->chatnet) != NULL)
|
||||
chatnet = rec->chatnet;
|
||||
if (chatnet_find(chatnet) == NULL) {
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTNOTICE,
|
||||
TXT_UNKNOWN_CHATNET, chatnet);
|
||||
|
Loading…
Reference in New Issue
Block a user