server_epoll: Log full string represestation when connected
authorKim Alvefur <zash@zash.se>
Sat, 12 Oct 2019 20:15:31 +0200
changeset 10335 76bd77ad6a2a
parent 10334 d86b1304451a
child 10336 e05ea8223b32
server_epoll: Log full string represestation when connected Since they may have been unknown when the connection was created.
net/server_epoll.lua
--- 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