aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/xmppcomponent_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppcomponent_listener.lua b/net/xmppcomponent_listener.lua
index 030bbbd1..0b98b6bc 100644
--- a/net/xmppcomponent_listener.lua
+++ b/net/xmppcomponent_listener.lua
@@ -117,7 +117,7 @@ local function session_close(session, reason)
end
end
session.send("</stream:stream>");
- session.conn.close();
+ session.conn:close();
component_listener.ondisconnect(session.conn, "stream error");
end
end