]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Push network only if @networks is empty
authorJari Matilainen <redacted>
Mon, 24 Apr 2017 20:54:06 +0000 (22:54 +0200)
committerJari Matilainen <redacted>
Mon, 24 Apr 2017 20:54:06 +0000 (22:54 +0200)
scripts/notes.pl

index 28ba217eea7c770b4977c06af2994016612bdabf..0d7a47e7f37e2e55177aec2b05037c143074aa95 100644 (file)
@@ -157,7 +157,7 @@ sub cmd_notes_del {
     return;
   }
   else {
-    push @networks, fc $server->{tag};
+    push @networks, fc $server->{tag} if !@networks;
   }
 
   for (@networks) {
git clone https://git.99rst.org/PROJECT