Changeset

10331:76bd77ad6a2a

server_epoll: Log full string represestation when connected Since they may have been unknown when the connection was created.
author Kim Alvefur <zash@zash.se>
date Sat, 12 Oct 2019 20:15:31 +0200
parents 10330:d86b1304451a
children 10332:e05ea8223b32
files net/server_epoll.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_epoll.lua	Sat Oct 12 20:12:04 2019 +0200
+++ b/net/server_epoll.lua	Sat Oct 12 20:15:31 2019 +0200
@@ -698,8 +698,8 @@
 
 -- Connected!
 function interface:onconnect()
-	self:debug("Connected");
 	self:updatenames();
+	self:debug("Connected (%s)", self);
 	self.onconnect = noop;
 	self:on("connect");
 end