Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Fix skipping autoconnect when passed 1 URL
Browse files Browse the repository at this point in the history
  • Loading branch information
TingPing committed Jun 22, 2017
1 parent 99e1611 commit 806a0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/hexchat.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ xchat_init (void)
fe_serverlist_open (NULL);

/* 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 */
if (!servlist_have_auto ()) /* if no new windows open .. */
Expand Down

0 comments on commit 806a0da

Please sign in to comment.