summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-07-02 12:22:01 -0400
committerTingPing <tngpng@gmail.com>2013-07-02 12:22:01 -0400
commitd1244d7231778ac86532714d7c95a4cbda9c43e5 (patch)
tree9a6a161fe1fe9a6ae1d946e495d303e8ebc894f4 /src/common
parent50219a63add0c1aa8ff78b5c81dd579143284e61 (diff)
Use URL command for opening in existing
This avoids making a new connection to an already open network.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/dbus/dbus-client.c2
1 files changed, 1 insertions, 1 deletions
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,