summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2004-08-26 22:20:04 +0000
committerSebastien Helleu <flashcode@flashtux.org>2004-08-26 22:20:04 +0000
commitaea603b6edac8c422d7ef53dd9c76af64ef77244 (patch)
tree0b1ea099ebb7ae4f8aad96a8cb4f7be35b6b6a69 /src/irc
parent9c6f2fcb8c6c6aded37dfef7adc391503ab698e5 (diff)
downloadweechat-aea603b6edac8c422d7ef53dd9c76af64ef77244.zip
Added DCC buffer type
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/irc-channel.c2
-rw-r--r--src/irc/irc-server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/irc-channel.c b/src/irc/irc-channel.c
index b5e93038b..515635cb6 100644
--- a/src/irc/irc-channel.c
+++ b/src/irc/irc-channel.c
@@ -72,7 +72,7 @@ channel_new (t_irc_server *server, int channel_type, char *channel_name,
server->channels = new_channel;
server->last_channel = new_channel;
- gui_buffer_new (gui_current_window, server, new_channel, switch_to_buffer);
+ gui_buffer_new (gui_current_window, server, new_channel, 0, switch_to_buffer);
/* all is ok, return address of new channel */
return new_channel;
diff --git a/src/irc/irc-server.c b/src/irc/irc-server.c
index 375770c25..bbb718970 100644
--- a/src/irc/irc-server.c
+++ b/src/irc/irc-server.c
@@ -706,7 +706,7 @@ server_auto_connect (int command_line)
if ( ((command_line) && (ptr_server->command_line))
|| ((!command_line) && (ptr_server->autoconnect)) )
{
- (void) gui_buffer_new (gui_current_window, ptr_server, NULL, 1);
+ (void) gui_buffer_new (gui_current_window, ptr_server, NULL, 0, 1);
if (server_connect (ptr_server))
irc_login (ptr_server);
}