Mercurial > prosody-modules
changeset 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 |
parents | 9d43095d915f |
children | de6b95d5e01b |
files | mod_track_muc_joins/mod_track_muc_joins.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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;