summary refs log tree commit diff stats
path: root/plugins/xdcc/xdcc.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-04 23:55:36 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-04 23:55:36 +0100
commitdb218817fdc895aa2e3e52a71aa2f4423a534423 (patch)
tree42adbac9f667aa7a1dba5386150738fac84aeafc /plugins/xdcc/xdcc.c
parentad16ed3933b2904f3e4b206a67c4b67cc86622bc (diff)
Use configdir instead of *xchatdir*
Diffstat (limited to 'plugins/xdcc/xdcc.c')
-rw-r--r--plugins/xdcc/xdcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xdcc/xdcc.c b/plugins/xdcc/xdcc.c
index 73a3983b..85d27732 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, "hexchatdir"));
+	snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "configdir"));
 
 	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, "hexchatdir"));
+	snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "configdir"));
 
 	fp = fopen(buf, "r");
 	if(!fp)