Software /
code /
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 |
parent | 3060:982668000163 |
child | 3062: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;