From d1244d7231778ac86532714d7c95a4cbda9c43e5 Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 2 Jul 2013 12:22:01 -0400 Subject: [PATCH] Use URL command for opening in existing This avoids making a new connection to an already open network. --- src/common/dbus/dbus-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dbus/dbus-client.c b/src/common/dbus/dbus-client.c index 6678a167..3babe78f 100644 --- a/src/common/dbus/dbus-client.c +++ b/src/common/dbus/dbus-client.c @@ -120,7 +120,7 @@ hexchat_remote (void) { for (i = 0; i < g_strv_length(arg_urls); i++) { - command = g_strdup_printf ("newserver %s", arg_urls[i]); + command = g_strdup_printf ("url %s", arg_urls[i]); if (!dbus_g_proxy_call (remote_object, "Command", &error, G_TYPE_STRING, command,