diff options
Diffstat (limited to 'plugins/perl/lib/Xchat')
-rw-r--r-- | plugins/perl/lib/Xchat/List/Network.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/perl/lib/Xchat/List/Network.pm b/plugins/perl/lib/Xchat/List/Network.pm index da2f52dd..5755ede9 100644 --- a/plugins/perl/lib/Xchat/List/Network.pm +++ b/plugins/perl/lib/Xchat/List/Network.pm @@ -13,6 +13,7 @@ sub get { (!defined $last_modified || $last_modified != -M $server_file ) ) { $last_modified = -M _; + @servers = (); if( open my $fh, "<", $server_file ) { local $/ = "\n\n"; while( my $record = <$fh> ) { |