Changeset

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
parents 10042:4e63e28ba362
children 10044:4fd27023224a
files core/sessionmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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