Mercurial > prosody-modules
comparison mod_http_muc_log/mod_http_muc_log.lua @ 3061:25eecbb195d9
mod_http_muc_log: Add comment about argument to policy function
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 28 May 2018 20:21:39 +0200 |
parents | 982668000163 |
children | 37a78e365b46 |
comparison
equal
deleted
inserted
replaced
3060:982668000163 | 3061:25eecbb195d9 |
---|---|
50 | 50 |
51 -- Whether room can be joined by anyone | 51 -- Whether room can be joined by anyone |
52 local function open_room(room) -- : boolean | 52 local function open_room(room) -- : boolean |
53 if type(room) == "string" then | 53 if type(room) == "string" then |
54 room = get_room(room); | 54 room = get_room(room); |
55 -- assumed to be a room object otherwise | |
55 end | 56 end |
56 if not room then | 57 if not room then |
57 return nil; | 58 return nil; |
58 end | 59 end |
59 | 60 |