mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-29 20:52:16 -05:00
Use URL command for opening in existing
This avoids making a new connection to an already open network.
This commit is contained in:
parent
50219a63ad
commit
d1244d7231
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user