From 1fedb0c64940adc497f12338abe1e0a60d7958c6 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 7 Dec 2008 19:04:23 +0000 Subject: stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and sessionmanager for the new syntax --- core/sessionmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 -- cgit v1.2.3