aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_message.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-05-30 17:48:12 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-05-30 17:48:12 +0500
commitb4359c6b35505c62116b1815a4ef57a042d65900 (patch)
treed3679018eab20470f16b0ce6aa1636beeb04e588 /plugins/mod_message.lua
parent1dcb377bedf2141f60607f0c809d6479cf5897e9 (diff)
downloadprosody-b4359c6b35505c62116b1815a4ef57a042d65900.tar.gz
prosody-b4359c6b35505c62116b1815a4ef57a042d65900.zip
mod_message, mod_iq: A little cleanup
Diffstat (limited to 'plugins/mod_message.lua')
-rw-r--r--plugins/mod_message.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua
index a99287ab..c0abe936 100644
--- a/plugins/mod_message.lua
+++ b/plugins/mod_message.lua
@@ -23,7 +23,7 @@ module:hook("message/bare", function(data)
-- 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