diff options
Diffstat (limited to 'lib')
-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 ba4f43c37..8c271ad45 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -520,7 +520,7 @@ module Net unless user and secret auth_method = "auth_#{authtype || 'cram_md5'}" raise ArgumentError, "wrong auth type #{authtype}"\ - unless respond_to?(auth_method) + unless respond_to?(auth_method, true) end def authenticate( user, secret, authtype ) |