Fix skipping autoconnect when passed 1 URL

This commit is contained in:
Patrick Griffis 2017-06-22 13:15:58 -04:00
parent 99e16110bc
commit 806a0da258

View file

@ -966,7 +966,7 @@ xchat_init (void)
fe_serverlist_open (NULL); fe_serverlist_open (NULL);
/* turned OFF via -a arg or by passing urls */ /* turned OFF via -a arg or by passing urls */
if (!arg_dont_autoconnect && !arg_urls) if (!arg_dont_autoconnect && !arg_urls && !arg_url)
{ {
/* do any auto connects */ /* do any auto connects */
if (!servlist_have_auto ()) /* if no new windows open .. */ if (!servlist_have_auto ()) /* if no new windows open .. */