From 0fba6dbd0d0d9081ca1311183791cf241e621d3c Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Mon, 6 Apr 2020 21:17:25 +0100 Subject: [PATCH] add missing Filter.pm mod --- perl/Filter.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl/Filter.pm b/perl/Filter.pm index c53f9641..a83a5217 100644 --- a/perl/Filter.pm +++ b/perl/Filter.pm @@ -373,6 +373,7 @@ sub parse my $user; # check the line for non legal characters + return ('ill', $dxchan->msg('e19')) if $dxchan->priv < 8 and $line =~ /{.*}/; return ('ill', $dxchan->msg('e19')) if $line !~ /{.*}/ && $line =~ /[^\s\w,_\-\*\/\(\)!]/; # add some spaces for ease of parsing -- 2.34.1