diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 09:59:58 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 09:59:58 +0100 |
commit | 29f7a9180caa1b8278bf3d9c6a9b49a0b59a1000 (patch) | |
tree | c22557d059e0137a84e3b948963d409a7c225ee6 /plugins/xdcc | |
parent | 66be50f3350248fac4292287776f9e416de77f5a (diff) |
Rebrand get_info(xchatdir) but remain compatible for Perl and Python
Diffstat (limited to 'plugins/xdcc')
-rw-r--r-- | plugins/xdcc/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/xdcc/xdcc.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xdcc/Makefile.am b/plugins/xdcc/Makefile.am index 24f93f16..9e0cf713 100644 --- a/plugins/xdcc/Makefile.am +++ b/plugins/xdcc/Makefile.am @@ -1,4 +1,4 @@ -libdir = $(xchatdir)/plugins +libdir = $(hexchatdir)/plugins lib_LTLIBRARIES = xdcc.la xdcc_la_SOURCES = xdcc.c diff --git a/plugins/xdcc/xdcc.c b/plugins/xdcc/xdcc.c index ffe7dfd3..7a9fa16e 100644 --- a/plugins/xdcc/xdcc.c +++ b/plugins/xdcc/xdcc.c @@ -253,7 +253,7 @@ static void xdcc_save(void) GSList *list; fileoffer *offer; - snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "xchatdir")); + snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "hexchatdir")); fp = fopen(buf, "w"); if(!fp) @@ -280,7 +280,7 @@ static void xdcc_load(void) char dl[128]; FILE *fp; - snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "xchatdir")); + snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "hexchatdir")); fp = fopen(buf, "r"); if(!fp) |