aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-07-08 18:21:45 +0200
committerKim Alvefur <zash@zash.se>2017-07-08 18:21:45 +0200
commit9d124fd9d262c3ee1dc15baf1820c34fba0dbc5c (patch)
tree3aaca1c233f71c9abe816975c1608e73a7e5ace4
parent5ca772b7a74cf4ce5d5a9f1fcc810a9ebfcc470a (diff)
downloadprosody-9d124fd9d262c3ee1dc15baf1820c34fba0dbc5c.tar.gz
prosody-9d124fd9d262c3ee1dc15baf1820c34fba0dbc5c.zip
mod_saslauth: Use correct varible name (thanks Roi)
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index d374633e..a23d1f53 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -105,7 +105,7 @@ module:hook_stanza(xmlns_sasl, "failure", function (session, stanza)
end
end
if text and condition then
- condition = connection .. ": " .. text;
+ condition = condition .. ": " .. text;
end
module:log("info", "SASL EXTERNAL with %s failed: %s", session.to_host, condition);