aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-22 16:36:11 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-22 16:36:11 +0000
commit040ff64c5f4005a681d8144f0614a50902cb3747 (patch)
tree784f58df381118ef50a7794a4d2af526d4dfd960
parent577ff7d3b89b64b90da944f50dc3847c552d4cb3 (diff)
downloadprosody-040ff64c5f4005a681d8144f0614a50902cb3747.tar.gz
prosody-040ff64c5f4005a681d8144f0614a50902cb3747.zip
xmppcomponent_listener: Update for new connection API
-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