summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/python/weechat-python.c
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/scripts/python/weechat-python.c
parenteb57354984dd1394f8b50911cee58180bbff2e88 (diff)
downloadweechat-0839b359f9ad6fd88ef94e6ca4eac54c53156c68.zip
Add new hooks (info and infolist), IRC plugin now return infos and infolists
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.c')
-rw-r--r--src/plugins/scripts/python/weechat-python.c2
1 files changed, 1 insertions, 1 deletions
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;