From 806a0da2584659a69c35112c86a5700a855be665 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Thu, 22 Jun 2017 13:15:58 -0400 Subject: [PATCH] Fix skipping autoconnect when passed 1 URL --- src/common/hexchat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/hexchat.c b/src/common/hexchat.c index e82f73f5..c34c7c57 100644 --- a/src/common/hexchat.c +++ b/src/common/hexchat.c @@ -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 .. */