From 97dae4030bcfb3062bd0909f471f41b5967c88d2 Mon Sep 17 00:00:00 2001 From: Jonathan Leech-Pepin Date: Thu, 20 Nov 2014 12:58:53 -0500 Subject: Do not actually need to check for no submethods. Already tested for. --- sx-auth.el | 3 +-- 1 file changed, 1 insertion(+), 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. -- cgit v1.2.3