Software /
code /
prosody
Diff
core/sessionmanager.lua @ 10043:ce8e18f20693
core/sessionmanager: Remove unnecessary fallback in make_authenticated
author | Maxime “pep” Buquet <pep@bouah.net> |
---|---|
date | Sat, 01 Jun 2019 15:00:35 +0200 |
parent | 9937:6245ee9494c6 |
child | 10105:63f87211fcdd |
line wrap: on
line diff
--- a/core/sessionmanager.lua Fri May 31 18:50:34 2019 +0200 +++ b/core/sessionmanager.lua Sat Jun 01 15:00:35 2019 +0200 @@ -129,7 +129,7 @@ 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