version 1.18, 2007/08/03 20:55:10
|
version 1.19, 2007/08/13 09:34:35
|
Line 60 sub maximareply {
|
Line 60 sub maximareply {
|
|
|
sub blacklisted { |
sub blacklisted { |
my ($cmd)=@_; |
my ($cmd)=@_; |
foreach my $forbidden ('save','plot','lisp','includ','compil', |
foreach my $forbidden ('save','load','plot','lisp','includ','compil', |
'file','batch','stringout','translat','stout', |
'file','batch','stringout','translat','stout', |
'stin','block','system','concat') { |
'stin','block','system','concat','read') { |
if ($cmd=~/$forbidden/s) { return 1; } |
if ($cmd=~/$forbidden/s) { return 1; } |
} |
} |
return 0; |
return 0; |