summaryrefslogtreecommitdiff
path: root/mod_auth_custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-21 16:48:21 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-21 16:48:21 +0200
commit822d502c0bcd9f536356d9922f6886dbe3210ecf (patch)
tree93e4fed3443a1ae60fdbe8125a49b0774a9ab941 /mod_auth_custom
parent08f56ab877313cdeaa3084e2fe2a6a50f0cb0495 (diff)
downloadprosody_auth-822d502c0bcd9f536356d9922f6886dbe3210ecf.tar
prosody_auth-822d502c0bcd9f536356d9922f6886dbe3210ecf.tar.gz
prosody_auth-822d502c0bcd9f536356d9922f6886dbe3210ecf.tar.bz2
prosody_auth-822d502c0bcd9f536356d9922f6886dbe3210ecf.tar.xz
prosody_auth-822d502c0bcd9f536356d9922f6886dbe3210ecf.zip
Diffstat (limited to 'mod_auth_custom')
-rw-r--r--mod_auth_custom/mod_auth_custom.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_auth_custom/mod_auth_custom.lua b/mod_auth_custom/mod_auth_custom.lua
index a1e97ee..9ed34c3 100644
--- a/mod_auth_custom/mod_auth_custom.lua
+++ b/mod_auth_custom/mod_auth_custom.lua
@@ -26,7 +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 module:log("info", "is_alias(%s) = %s # %s", username, tostring(found), username .. "@" .. module.host);
30 return found; 30 return found;
31end 31end
32 32