summaryrefslogtreecommitdiff
path: root/src/plugins/logger
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-08-30 00:25:56 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-08-30 00:25:56 +0200
commit0839b359f9ad6fd88ef94e6ca4eac54c53156c68 (patch)
tree4580ffa94b96c331e9fb6c90a92281ef19eddc9f /src/plugins/logger
parenteb57354984dd1394f8b50911cee58180bbff2e88 (diff)
downloadweechat-0839b359f9ad6fd88ef94e6ca4eac54c53156c68.zip
Add new hooks (info and infolist), IRC plugin now return infos and infolists
Diffstat (limited to 'src/plugins/logger')
-rw-r--r--src/plugins/logger/logger.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c
index 92fe91f66..dac2f267c 100644
--- a/src/plugins/logger/logger.c
+++ b/src/plugins/logger/logger.c
@@ -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)
{