Diff

mod_track_muc_joins/mod_track_muc_joins.lua @ 2085:8cb8004091f8

mod_track_muc_joins: Add missing imports (thanks Ge0rG)
author Kim Alvefur <zash@zash.se>
date Wed, 16 Mar 2016 11:42:40 +0100
parent 2081:73096d8d924c
child 2156:3fcac143fe0b
line wrap: on
line diff
--- a/mod_track_muc_joins/mod_track_muc_joins.lua	Tue Mar 15 16:46:44 2016 +0100
+++ b/mod_track_muc_joins/mod_track_muc_joins.lua	Wed Mar 16 11:42:40 2016 +0100
@@ -1,3 +1,5 @@
+local jid_bare = require "util.jid".bare;
+local sessions = prosody.full_sessions;
 
 module:hook("presence/full", function (event)
 	local stanza = event.stanza;