Software /
code /
prosody-modules
Comparison
mod_saslauth_muc/mod_saslauth_muc.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parent | 404:eb8b005d2a3d |
child | 1426:249c5447fed1 |
comparison
equal
deleted
inserted
replaced
1342:0ae065453dc9 | 1343:7dbde05b48a9 |
---|---|
56 end | 56 end |
57 | 57 |
58 -- Stanza handlers | 58 -- Stanza handlers |
59 module:hook("presence/full", function(event) | 59 module:hook("presence/full", function(event) |
60 local origin, stanza = event.origin, event.stanza; | 60 local origin, stanza = event.origin, event.stanza; |
61 | 61 |
62 if not stanza.attr.type then -- available presence | 62 if not stanza.attr.type then -- available presence |
63 local room_jid = jid_bare(stanza.attr.to); | 63 local room_jid = jid_bare(stanza.attr.to); |
64 local room = hosts[module.host].modules.muc.rooms[room_jid]; | 64 local room = hosts[module.host].modules.muc.rooms[room_jid]; |
65 | 65 |
66 if room and not room:get_role(stanza.attr.from) then -- this is a room join | 66 if room and not room:get_role(stanza.attr.from) then -- this is a room join |