summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2017-06-22 13:15:58 -0400
committerPatrick Griffis <tingping@tingping.se>2017-06-22 13:19:43 -0400
commit806a0da2584659a69c35112c86a5700a855be665 (patch)
tree03d692339360d656e65368257e91c1f447b7fdad
parent99e16110bc42856492636b4b492a0cffe6d70a88 (diff)
Fix skipping autoconnect when passed 1 URL
-rw-r--r--src/common/hexchat.c2
1 files changed, 1 insertions, 1 deletions
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 .. */