Software /
code /
prosody
Diff
core/sessionmanager.lua @ 597:e33d384e1b2e
stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and sessionmanager for the new syntax
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 07 Dec 2008 19:04:23 +0000 |
parent | 583:5821eaa80baa |
child | 614:335f2921ae0c |
line wrap: on
line diff
--- a/core/sessionmanager.lua Sun Dec 07 18:44:23 2008 +0000 +++ b/core/sessionmanager.lua Sun Dec 07 19:04:23 2008 +0000 @@ -69,7 +69,7 @@ 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