summary refs log tree commit diff stats
path: root/plugins/perl/lib/Xchat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/perl/lib/Xchat')
-rw-r--r--plugins/perl/lib/Xchat/List/Network.pm1
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> ) {