# HG changeset patch # User Maxime “pep” Buquet # Date 1559394035 -7200 # Node ID ce8e18f20693dfc655e3ca8c0968fd449f079e9f # Parent 4e63e28ba3629ac2083af4eea1754bddd4d7769d core/sessionmanager: Remove unnecessary fallback in make_authenticated diff -r 4e63e28ba362 -r ce8e18f20693 core/sessionmanager.lua --- 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