summary refs log tree commit diff stats
path: root/plugins/python/python.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 09:59:58 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 09:59:58 +0100
commit29f7a9180caa1b8278bf3d9c6a9b49a0b59a1000 (patch)
treec22557d059e0137a84e3b948963d409a7c225ee6 /plugins/python/python.c
parent66be50f3350248fac4292287776f9e416de77f5a (diff)
Rebrand get_info(xchatdir) but remain compatible for Perl and Python
Diffstat (limited to 'plugins/python/python.c')
-rw-r--r--plugins/python/python.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c
index 84f2647a..97824b13 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -393,13 +393,13 @@ Util_Autoload()
 	char *sub_dir;
 	/* we need local filesystem encoding for chdir, opendir etc */
 
-	xdir = hexchat_get_info(ph, "xchatdirfs");
+	xdir = hexchat_get_info(ph, "hexchatdirfs");
 
 	/* don't pollute the filesystem with script files, this only causes misuse of the folders
 	 * only use ~/.config/hexchat/addons/ and %APPDATA%\HexChat\addons */
 #if 0
 	/* auto-load from ~/.config/hexchat/ or %APPDATA%\HexChat\ */
-	Util_Autoload_from(hexchat_get_info(ph, "xchatdirfs"));
+	Util_Autoload_from(hexchat_get_info(ph, "hexchatdirfs"));
 #endif
 
 	/* auto-load from subdirectory addons */
@@ -449,7 +449,7 @@ Util_Expand(char *filename)
 	g_free(expanded);
 
 	/* Check if ~/.config/hexchat/addons/<filename> exists. */
-	expanded = g_build_filename(hexchat_get_info(ph, "xchatdir"),
+	expanded = g_build_filename(hexchat_get_info(ph, "hexchatdir"),
 				    "addons", filename, NULL);
 	if (g_file_test(expanded, G_FILE_TEST_EXISTS))
 		return expanded;