Commit e1c255f3 authored by Steve Holme's avatar Steve Holme
Browse files

ftpserver.pl: Fixed servercmd REPLY with * detection

parent 6d3c832a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";