Diff

plugins/mod_message.lua @ 1234:0ff02499f05c

mod_message, mod_iq: A little cleanup
author Waqas Hussain <waqas20@gmail.com>
date Sat, 30 May 2009 17:48:12 +0500
parent 1232:6ddbb583f067
child 1271:e78c161944ab
line wrap: on
line diff
--- a/plugins/mod_message.lua	Sat May 30 17:38:53 2009 +0500
+++ b/plugins/mod_message.lua	Sat May 30 17:48:12 2009 +0500
@@ -23,7 +23,7 @@
 	-- message to bare JID recieved
 	local origin, stanza = data.origin, data.stanza;
 
-	local sessions = bare_sessoins[stanza.attr.to];
+	local sessions = bare_sessions[stanza.attr.to];
 	if sessions then sessions = sessions.sessions; end
 	
 	if sessions then