Permalink
Browse files

ignore unused windows

  • Loading branch information...
1 parent 782ead6 commit 119d604f4315e4c2d1dc6460197b37a5d867b049 @typester committed Mar 21, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 channel-socket.pl
View
@@ -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;

0 comments on commit 119d604

Please sign in to comment.