From: Dirk Koopman Date: Mon, 6 Apr 2020 20:17:25 +0000 (+0100) Subject: add missing Filter.pm mod X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=0fba6dbd0d0d9081ca1311183791cf241e621d3c add missing Filter.pm mod --- 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