Comparison

plugins/mod_saslauth.lua @ 7962:4e9b307c30dd

mod_saslauth: Fix typoed variable name [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 06 Mar 2017 16:05:24 +0100
parent 7960:9a938b785bc5
child 8042:5d5afaafac0f
comparison
equal deleted inserted replaced
7961:ff556d010225 7962:4e9b307c30dd
103 condition = child.name; 103 condition = child.name;
104 break; 104 break;
105 end 105 end
106 end 106 end
107 if text and condition then 107 if text and condition then
108 condition = connection .. ": " .. text; 108 condition = condition .. ": " .. text;
109 end 109 end
110 module:log("info", "SASL EXTERNAL with %s failed: %s", session.to_host, condition); 110 module:log("info", "SASL EXTERNAL with %s failed: %s", session.to_host, condition);
111 111
112 session.external_auth = "failed" 112 session.external_auth = "failed"
113 session:close(); 113 session:close();