ftpserver.pl: Fixed servercmd REPLY with * detection

This commit is contained in:
Steve Holme
2013-11-23 16:25:37 +00:00
parent 6d3c832a30
commit e1c255f388

View File

@@ -2841,7 +2841,7 @@ sub customize {
logmsg "FTPD: Getting commands from log/ftpserver.cmd\n";
while(<CUSTOM>) {
if($_ =~ /REPLY ([A-Za-z0-9+\/=]*) (.*)/) {
if($_ =~ /REPLY ([A-Za-z0-9+\/=\*]*) (.*)/) {
$customreply{$1}=eval "qq{$2}";
if($1 eq "") {
logmsg "FTPD: set custom reply for empty response\n";