diff options
Diffstat (limited to 'libexec/ftpd/ftpcmd.y')
-rw-r--r-- | libexec/ftpd/ftpcmd.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y index 6ec3d25..5c090e3 100644 --- a/libexec/ftpd/ftpcmd.y +++ b/libexec/ftpd/ftpcmd.y @@ -951,7 +951,7 @@ yylex() upper(cbuf); p = lookup(cmdtab, cbuf); cbuf[cpos] = c; - if (p != 0) { + if (guest != 0 && p != 0) { if (p->implemented == 0) { nack(p->name); longjmp(errcatch,0); |