Mercurial > prosody-modules
comparison mod_auth_imap/auth_imap/sasl_imap.lib.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parents | 34216cdffda6 |
children | f384669a9359 |
comparison
equal
deleted
inserted
replaced
1342:0ae065453dc9 | 1343:7dbde05b48a9 |
---|---|
101 for cap in caps:gmatch("%S+") do | 101 for cap in caps:gmatch("%S+") do |
102 log("debug", "Capability: %s", cap); | 102 log("debug", "Capability: %s", cap); |
103 local mech = cap:match("AUTH=(.*)"); | 103 local mech = cap:match("AUTH=(.*)"); |
104 if mech then | 104 if mech then |
105 log("debug", "Supported SASL mechanism: %s", mech); | 105 log("debug", "Supported SASL mechanism: %s", mech); |
106 supported_mechs[mech] = mitm[mech] and true or nil; | 106 supported_mechs[mech] = mitm[mech] and true or nil; |
107 end | 107 end |
108 end | 108 end |
109 end | 109 end |
110 | 110 |
111 return conn, supported_mechs; | 111 return conn, supported_mechs; |