aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-10-12 20:15:31 +0200
committerKim Alvefur <zash@zash.se>2019-10-12 20:15:31 +0200
commit066ee6e7810f638be65445ef7161ee41b6e33f14 (patch)
tree63434947bdab341024b26977f6ca35eb93ed43a1 /net/server_epoll.lua
parent3e8be00bbec2bfc691a2fd7fdb4dde33d39a55d4 (diff)
downloadprosody-066ee6e7810f638be65445ef7161ee41b6e33f14.tar.gz
prosody-066ee6e7810f638be65445ef7161ee41b6e33f14.zip
server_epoll: Log full string represestation when connected
Since they may have been unknown when the connection was created.
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 3745b426..9feba360 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -698,8 +698,8 @@ end
-- Connected!
function interface:onconnect()
- self:debug("Connected");
self:updatenames();
+ self:debug("Connected (%s)", self);
self.onconnect = noop;
self:on("connect");
end