summaryrefslogtreecommitdiff
path: root/src/irc/irc-send.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-12-31 16:00:20 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-12-31 16:00:20 +0000
commitfd3e94070ae65c5a7e39fa95a72f0e30d374c8b4 (patch)
tree6c9535c87fed7cc4f4a305a0c7619ec8c52cec60 /src/irc/irc-send.c
parent0708f1a571119ad28b810bf519f7a8d0f2ab3c24 (diff)
downloadweechat-fd3e94070ae65c5a7e39fa95a72f0e30d374c8b4.zip
When private window is created (another user is talking), WeeChat does not switch to this window
Diffstat (limited to 'src/irc/irc-send.c')
-rw-r--r--src/irc/irc-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-send.c b/src/irc/irc-send.c
index 4c9c025a0..dc74ce09c 100644
--- a/src/irc/irc-send.c
+++ b/src/irc/irc-send.c
@@ -487,7 +487,7 @@ irc_cmd_send_msg (t_irc_server *server, char *arguments)
ptr_channel = channel_search (server, arguments);
if (!ptr_channel)
{
- ptr_channel = channel_new (server, CHAT_PRIVATE, arguments);
+ ptr_channel = channel_new (server, CHAT_PRIVATE, arguments, 1);
if (!ptr_channel)
{
gui_printf (server->window,