aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index a597e724..34cc9f0f 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -69,7 +69,7 @@ function destroy_session(session, err)
local pres = st.presence{ type = "unavailable" };
if (not err) or err == "closed" then err = "connection closed"; end
pres:tag("status"):text("Disconnected: "..err);
- session.stanza_dispatch(pres);
+ session:dispatch_stanza(pres);
end
-- Remove session/resource from user's session list