1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

Add new hooks (info and infolist), IRC plugin now return infos and infolists

This commit is contained in:
Sebastien Helleu
2008-08-30 00:25:56 +02:00
parent eb57354984
commit 0839b359f9
45 changed files with 1990 additions and 402 deletions
+4 -4
View File
@@ -200,7 +200,7 @@ logger_create_directory ()
dir1 = weechat_string_replace (logger_option_path, "~", getenv ("HOME"));
if (dir1)
{
weechat_dir = weechat_info_get ("weechat_dir");
weechat_dir = weechat_info_get ("weechat_dir", "");
if (weechat_dir)
{
dir2 = weechat_string_replace (dir1, "%h", weechat_dir);
@@ -243,8 +243,8 @@ logger_get_filename (struct t_gui_buffer *buffer)
res = NULL;
dir_separator = weechat_info_get ("dir_separator");
weechat_dir = weechat_info_get ("weechat_dir");
dir_separator = weechat_info_get ("dir_separator", "");
weechat_dir = weechat_info_get ("weechat_dir", "");
log_path = weechat_string_replace (logger_option_path, "~",
getenv ("HOME"));
log_path2 = weechat_string_replace (log_path, "%h", weechat_dir);
@@ -340,7 +340,7 @@ logger_write_line (struct t_logger_buffer *logger_buffer,
if (logger_buffer->log_filename)
{
charset = weechat_info_get ("charset_terminal");
charset = weechat_info_get ("charset_terminal", "");
if (!logger_buffer->log_file)
{