diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_iq.lua | 3 | ||||
-rw-r--r-- | plugins/mod_message.lua | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/mod_iq.lua b/plugins/mod_iq.lua index 10960684..e0c9813d 100644 --- a/plugins/mod_iq.lua +++ b/plugins/mod_iq.lua @@ -1,4 +1,7 @@ +local full_sessions = full_sessions; +local bare_sessions = bare_sessions; + module:hook("iq/full", function(data) -- IQ to full JID recieved local origin, stanza = data.origin, data.stanza; 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 |