summary refs log tree commit diff stats
path: root/plugins/perl/lib/Xchat/Embed.pm
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/perl/lib/Xchat/Embed.pm
parent66be50f3350248fac4292287776f9e416de77f5a (diff)
Rebrand get_info(xchatdir) but remain compatible for Perl and Python
Diffstat (limited to 'plugins/perl/lib/Xchat/Embed.pm')
-rw-r--r--plugins/perl/lib/Xchat/Embed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/perl/lib/Xchat/Embed.pm b/plugins/perl/lib/Xchat/Embed.pm
index f7dd70f1..d9d3e92a 100644
--- a/plugins/perl/lib/Xchat/Embed.pm
+++ b/plugins/perl/lib/Xchat/Embed.pm
@@ -207,7 +207,7 @@ sub reload {
 }
 
 sub reload_all {
-	my @dirs = Xchat::get_info( "xchatdirfs" ) || Xchat::get_info( "xchatdir" );
+	my @dirs = Xchat::get_info( "hexchatdirfs" ) || Xchat::get_info( "hexchatdir" );
 	push @dirs, File::Spec->catdir( $dirs[0], "plugins" );
 	for my $dir ( @dirs ) {
 		my $auto_load_glob = File::Spec->catfile( $dir, "*.pl" );