diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-21 16:48:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-21 16:48:21 +0200 |
commit | 822d502c0bcd9f536356d9922f6886dbe3210ecf (patch) | |
tree | 93e4fed3443a1ae60fdbe8125a49b0774a9ab941 /mod_auth_custom/mod_auth_custom.lua | |
parent | 08f56ab877313cdeaa3084e2fe2a6a50f0cb0495 (diff) | |
download | prosody_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/mod_auth_custom.lua')
-rw-r--r-- | mod_auth_custom/mod_auth_custom.lua | 2 |
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; |
31 | end | 31 | end |
32 | 32 | ||