diff options
author | Maxime ?pep? Buquet <pep@bouah.net> | 2019-06-01 15:00:35 +0200 |
---|---|---|
committer | Maxime ?pep? Buquet <pep@bouah.net> | 2019-06-01 15:00:35 +0200 |
commit | cd4878033fd3f3b6b7dd67d66f8f02423ee11b94 (patch) | |
tree | 995b70671f7cd6170a9fc0d16a72b22e9e36bc55 /core | |
parent | 9bca9eb263362d4f6c4f4e4a790b33676c509e03 (diff) | |
download | prosody-cd4878033fd3f3b6b7dd67d66f8f02423ee11b94.tar.gz prosody-cd4878033fd3f3b6b7dd67d66f8f02423ee11b94.zip |
core/sessionmanager: Remove unnecessary fallback in make_authenticated
Diffstat (limited to 'core')
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index f5af1185..55f096b9 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -129,7 +129,7 @@ local function make_authenticated(session, username) if session.type == "c2s_unauthed" then session.type = "c2s_unbound"; end - session.log("info", "Authenticated as %s@%s", username or "(unknown)", session.host or "(unknown)"); + session.log("info", "Authenticated as %s@%s", username, session.host or "(unknown)"); return true; end |