mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
fix a fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1869 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
097206878d
commit
e5abcdb76c
@ -299,7 +299,7 @@ server_create_conn(int chat_type, const char *dest, int port,
|
||||
return rec;
|
||||
}
|
||||
|
||||
chatrec = chatnet_find(chatnet);
|
||||
chatrec = chatnet == NULL ? NULL : chatnet_find(chatnet);
|
||||
if (chatrec != NULL)
|
||||
chatnet = chatrec->name;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user