summaryrefslogtreecommitdiff
path: root/mod_auth_custom/mod_auth_custom.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mod_auth_custom/mod_auth_custom.lua')
-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