summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-21 16:19:46 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-21 16:19:46 +0200
commit08f56ab877313cdeaa3084e2fe2a6a50f0cb0495 (patch)
tree9f17ef537dd366a161741af571c57a4b62af33ce
parent0d4b0b7b4d538a16e57f7106b6dc878788123333 (diff)
downloadprosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar
prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar.gz
prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar.bz2
prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar.xz
prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.zip
log is_alias
-rw-r--r--mod_auth_custom/mod_auth_custom.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod_auth_custom/mod_auth_custom.lua b/mod_auth_custom/mod_auth_custom.lua
index 109f387..a1e97ee 100644
--- a/mod_auth_custom/mod_auth_custom.lua
+++ b/mod_auth_custom/mod_auth_custom.lua
@@ -26,6 +26,7 @@ function is_alias(username)
26 if string.lower(line) == string.lower(username .. "@" .. module.host) then found = true; end 26 if string.lower(line) == string.lower(username .. "@" .. module.host) then found = true; end
27 end 27 end
28 f:close(); 28 f:close();
29 module:log("info", "is_alias(%s) = %d # %s", username, found, username .. "@" .. module.host);
29 return found; 30 return found;
30end 31end
31 32