aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xidalius.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/idalius.pl b/idalius.pl
index fef5b45..af413f5 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -182,7 +182,7 @@ sub should_ignore {
my ($who) = @_;
for my $mask (@{$config->{_}->{ignore}}) {
my $expr = $mask;
- $expr =~ s/([^[:alnum:]\*])/\\\1/g;
+ $expr =~ s/([^[:alnum:]\*])/$1/g;
$expr =~ s/\*/.*/g;
if ($who =~ /^$expr$/) {
return 1;