use Irssi;
use Text::ParseWords;
-our $VERSION = '1.1';
+our $VERSION = '1.2';
our %IRSSI = (
authors => 'martin f. krafft',
name => 'ctrlact',
description => 'allows per-channel control over activity indication',
license => 'MIT',
- changed => '2017-02-15'
+ changed => '2017-02-24'
);
### DEFAULTS AND SETTINGS ######################################################
sub walk_match_array {
my ($name, $net, $type, @arr) = @_;
foreach my $quadruplet (@arr) {
- my $netmatch = match($quadruplet->[0], $net);
+ my $netmatch = $net eq '*' ? '(ignored)'
+ : match($quadruplet->[0], $net);
my $match = match($quadruplet->[1], $name);
next unless $netmatch and $match;