From 0839b359f9ad6fd88ef94e6ca4eac54c53156c68 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 30 Aug 2008 00:25:56 +0200 Subject: Add new hooks (info and infolist), IRC plugin now return infos and infolists --- src/plugins/scripts/python/weechat-python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/scripts/python/weechat-python.c') diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 9755e9532..62ffa25a8 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -314,7 +314,7 @@ weechat_python_load (const char *filename) /* adding $weechat_dir/python in $PYTHONPATH */ python_path = PySys_GetObject ("path"); - w_home = weechat_info_get ("weechat_dir"); + w_home = weechat_info_get ("weechat_dir", ""); if (w_home) { len = strlen (w_home) + 1 + strlen("python") + 1; -- cgit v1.2.3