Diff

core/sessionmanager.lua @ 600:2255a2e84ddc

Automated merge with http://waqas.ath.cx:8000/
author Matthew Wild <mwild1@gmail.com>
date Sun, 07 Dec 2008 19:18:50 +0000
parent 597:e33d384e1b2e
child 614:335f2921ae0c
line wrap: on
line diff
--- a/core/sessionmanager.lua	Mon Dec 08 00:18:01 2008 +0500
+++ b/core/sessionmanager.lua	Sun Dec 07 19:18:50 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