aboutsummaryrefslogtreecommitdiff
path: root/sx-auth.el
diff options
context:
space:
mode:
authorJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-20 12:58:53 -0500
committerJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-20 12:58:53 -0500
commit97dae4030bcfb3062bd0909f471f41b5967c88d2 (patch)
treed8edf73437dce4205f1237dc69354e0e7716581f /sx-auth.el
parent52a8faf61568cb198727aad50d2ec4388a751348 (diff)
Do not actually need to check for no submethods. Already tested for.
Diffstat (limited to 'sx-auth.el')
-rw-r--r--sx-auth.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/sx-auth.el b/sx-auth.el
index e786466..bd8c206 100644
--- a/sx-auth.el
+++ b/sx-auth.el
@@ -115,10 +115,9 @@ If it has `auth-required' SUBMETHODs, or no submethod, return t."
;; eligible, in which case we only need to check the `car'.
(sub-head (if (listp submethod)
(car submethod))))
+ (lwarn " sx-auth method" :debug "Method %s requires auth" method-auth)
(and method-auth
(or
- ;; No submethod specified
- (not submethod)
;; All submethods require auth.
(eq t method-auth)
;; All sub-submethods require auth.