diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-11-04 23:55:36 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-11-04 23:55:36 +0100 |
commit | db218817fdc895aa2e3e52a71aa2f4423a534423 (patch) | |
tree | 42adbac9f667aa7a1dba5386150738fac84aeafc /plugins/perl/lib/Xchat | |
parent | ad16ed3933b2904f3e4b206a67c4b67cc86622bc (diff) |
Use configdir instead of *xchatdir*
Diffstat (limited to 'plugins/perl/lib/Xchat')
-rw-r--r-- | plugins/perl/lib/Xchat/Embed.pm | 2 | ||||
-rw-r--r-- | plugins/perl/lib/Xchat/List/Network.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/perl/lib/Xchat/Embed.pm b/plugins/perl/lib/Xchat/Embed.pm index d9d3e92a..6993dc6e 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( "hexchatdirfs" ) || Xchat::get_info( "hexchatdir" ); + my @dirs = Xchat::get_info( "configdir" ); push @dirs, File::Spec->catdir( $dirs[0], "plugins" ); for my $dir ( @dirs ) { my $auto_load_glob = File::Spec->catfile( $dir, "*.pl" ); diff --git a/plugins/perl/lib/Xchat/List/Network.pm b/plugins/perl/lib/Xchat/List/Network.pm index 7ce1c435..2b112e3a 100644 --- a/plugins/perl/lib/Xchat/List/Network.pm +++ b/plugins/perl/lib/Xchat/List/Network.pm @@ -6,7 +6,7 @@ my $last_modified; my @servers; sub get { - my $server_file = Xchat::get_info( "hexchatdirfs" ) . "/servlist_.conf"; + my $server_file = Xchat::get_info( "configdir" ) . "/servlist_.conf"; # recreate the list only if the server list file has changed if( -f $server_file && |