Mercurial > prosody-modules
diff 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 |
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua Mon May 28 20:21:01 2018 +0200 +++ b/mod_http_muc_log/mod_http_muc_log.lua Mon May 28 20:21:39 2018 +0200 @@ -52,6 +52,7 @@ local function open_room(room) -- : boolean if type(room) == "string" then room = get_room(room); + -- assumed to be a room object otherwise end if not room then return nil;