Skip to content

Commit

Permalink
ignore unused windows
Browse files Browse the repository at this point in the history
  • Loading branch information
typester committed Mar 21, 2013
1 parent 782ead6 commit 119d604
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions channel-socket.pl
Expand Up @@ -39,6 +39,8 @@

for my $window (Irssi::windows()) {
my $name = $window->{active} ? $window->{active}{name} : $window->{name};
next unless $name; # unused window

my $server_tag = $window->{active} ? $window->{active}{server}{tag} : '';
my $length = length $name;

Expand Down

0 comments on commit 119d604

Please sign in to comment.