ftpserver.pl: Fixed IMAP cmdid being sent on custom responses

This commit is contained in:
Steve Holme 2013-11-06 07:19:01 +00:00
parent af82661dbd
commit 27b7b1062f
1 changed files with 2 additions and 1 deletions

View File

@ -3114,9 +3114,10 @@ while(1) {
else {
$text = $displaytext{$FTPCMD};
}
my $check;
if($text && ($text ne "")) {
if($cmdid && ($cmdid ne "")) {
if(($cmdid) && ($cmdid ne "") && ($fake) && ($fake ne "")) {
sendcontrol "$cmdid$text\r\n";
}
else {