plugins/mod_c2s.lua
changeset 11481 c90ef8745779
parent 11363 db146bf7b120
child 11518 11186af62c87
--- a/plugins/mod_c2s.lua	Tue Mar 23 19:52:59 2021 +0100
+++ b/plugins/mod_c2s.lua	Tue Mar 23 21:46:11 2021 +0100
@@ -322,6 +322,7 @@
 	if c2s_timeout then
 		add_task(c2s_timeout, function ()
 			if session.type == "c2s_unauthed" then
+				(session.log or log)("debug", "Connection still not authenticated after c2s_timeout=%gs, closing it", c2s_timeout);
 				session:close("connection-timeout");
 			end
 		end);