diff options
| author | Jari Matilainen | 2017-04-24 22:54:06 +0200 | 
|---|---|---|
| committer | Jari Matilainen | 2017-04-24 22:54:06 +0200 | 
| commit | d5738727ed90499a80ae371125e05232f22984b0 (patch) | |
| tree | c8009505b7a2e386e6badde5b18a0309899881be /scripts/notes.pl | |
| parent | edbfe4ab2163902408da5f688233f8046fc57509 (diff) | |
| download | scripts.irssi.org-d5738727ed90499a80ae371125e05232f22984b0.tar.bz2 | |
Push network only if @networks is empty
Diffstat (limited to 'scripts/notes.pl')
| -rw-r--r-- | scripts/notes.pl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/scripts/notes.pl b/scripts/notes.pl index 28ba217..0d7a47e 100644 --- a/scripts/notes.pl +++ b/scripts/notes.pl @@ -157,7 +157,7 @@ sub cmd_notes_del {      return;    }    else { -    push @networks, fc $server->{tag}; +    push @networks, fc $server->{tag} if !@networks;    }    for (@networks) { | 
