summaryrefslogtreecommitdiff
path: root/src/irc/irc-recv.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-02-22 11:58:11 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-02-22 11:58:11 +0000
commitc0a1673060a59cca4d003449bde475a0235267e3 (patch)
treefedba4ce10c9f30c553ef57e04feccb653c0e557 /src/irc/irc-recv.c
parent3a79e32dbb31af7d17d35819e0648b010b310ec5 (diff)
downloadweechat-c0a1673060a59cca4d003449bde475a0235267e3.zip
Added IRC raw data buffer
Diffstat (limited to 'src/irc/irc-recv.c')
-rw-r--r--src/irc/irc-recv.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c
index e74bdcdb3..a6b539d5f 100644
--- a/src/irc/irc-recv.c
+++ b/src/irc/irc-recv.c
@@ -402,7 +402,8 @@ irc_cmd_recv_join (t_irc_server *server, char *host, char *nick, char *arguments
WEECHAT_ERROR, arguments);
return -1;
}
- gui_buffer_new (gui_current_window, server, ptr_channel, 0, 1);
+ gui_buffer_new (gui_current_window, server, ptr_channel,
+ BUFFER_TYPE_STANDARD, 1);
}
if (!command_ignored)
@@ -1234,7 +1235,8 @@ irc_cmd_recv_notice (t_irc_server *server, char *host, char *nick, char *argumen
WEECHAT_ERROR, nick);
return -1;
}
- gui_buffer_new (gui_current_window, server, ptr_channel, 0, 0);
+ gui_buffer_new (gui_current_window, server, ptr_channel,
+ BUFFER_TYPE_STANDARD, 0);
}
if (!ptr_channel->topic)
ptr_channel->topic = strdup ((host2) ? host2 : "");
@@ -2050,7 +2052,8 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume
WEECHAT_ERROR, nick);
return -1;
}
- gui_buffer_new (gui_current_window, server, ptr_channel, 0, 0);
+ gui_buffer_new (gui_current_window, server, ptr_channel,
+ BUFFER_TYPE_STANDARD, 0);
}
if (!ptr_channel->topic)
ptr_channel->topic = strdup (host2);
@@ -2142,7 +2145,8 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume
WEECHAT_ERROR, nick);
return -1;
}
- gui_buffer_new (gui_current_window, server, ptr_channel, 0, 0);
+ gui_buffer_new (gui_current_window, server, ptr_channel,
+ BUFFER_TYPE_STANDARD, 0);
}
if (!ptr_channel->topic)
ptr_channel->topic = strdup (host2);