aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/multiplex_listener.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/multiplex_listener.lua b/net/multiplex_listener.lua
index bf193ad8..dbd7ea13 100644
--- a/net/multiplex_listener.lua
+++ b/net/multiplex_listener.lua
@@ -31,6 +31,7 @@ function server.onincoming(conn, data)
listener = xmppclient_listener;
end
conn:setlistener(listener);
+ listener.onconnect(conn);
listener.onincoming(conn, buf);
elseif #buf > 1024 then
conn:close();