lib/ftpd/cmd_opts.rb in ftpd-0.16.0 vs lib/ftpd/cmd_opts.rb in ftpd-0.17.0
- old
+ new
@@ -4,10 +4,10 @@
class CmdOpts < CommandHandler
def cmd_opts(argument)
syntax_error unless argument
- error '501 Unsupported option'
+ error 'Unsupported option', 501
end
end
end