mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 07:47:10 +00:00
add missing Filter.pm mod
This commit is contained in:
parent
fc8ec20708
commit
0fba6dbd0d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user