diff options
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r-- | lib/net/smtp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 33b88f5c21..eaa010115f 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -933,7 +933,7 @@ module Net Response.parse(buf) end - def critical(&block) + def critical return '200 dummy reply code' if @error_occured begin return yield() |