Skip to content

Commit

Permalink
take out some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 10, 2006
1 parent c883310 commit 32c13f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ftpd.rb
Expand Up @@ -216,7 +216,7 @@ def bad_command(name, *params)

# login
def user(msg)
# return "502 Only anonymous user implemented" if msg != 'anonymous'
return "502 Only anonymous user implemented" if msg != 'anonymous'
debug "User #{msg} logged in."
thread[:user] = msg
"230 OK, password not required"
Expand Down Expand Up @@ -344,7 +344,6 @@ def type(msg)
elsif msg == "I"
thread[:mode] == :binary
"200 Type set to binary"
# "502 Binary mode not yet implemented"
end
end

Expand Down

0 comments on commit 32c13f4

Please sign in to comment.