summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-01-10 19:04:08 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-01-10 19:04:08 +0100
commit27469533356bda0bec163f3442e647ca9342139a (patch)
treeb03182693edad4e1f3e1ba6d9ec68c5021a7d62b /src
parent6aab1916739ca5f9a1ffc62849868ec2a401afe8 (diff)
downloadweechat-27469533356bda0bec163f3442e647ca9342139a.zip
Use options for server with /connect command when temporary server already exists
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 4a1da861b..315a3ecfc 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -797,6 +797,8 @@ irc_command_connect (void *data, struct t_gui_buffer *buffer, int argc,
ptr_server = irc_server_search (argv[i]);
if (ptr_server)
{
+ irc_server_apply_command_line_options (ptr_server,
+ argc, argv);
if (!irc_command_connect_one_server (ptr_server,
switch_address,
no_join))