comparison mod_bind2/mod_bind2.lua @ 4797:1539ae696613

mod_bind2: Silence [luacheck] warning
author Kim Alvefur <zash@zash.se>
date Sun, 28 Nov 2021 20:07:15 +0100
parents 8849b4f68534
children
comparison
equal deleted inserted replaced
4796:9c7635911c56 4797:1539ae696613
25 -- When it receives a bind 2.0 on an authenticated not-yet-bound session, the 25 -- When it receives a bind 2.0 on an authenticated not-yet-bound session, the
26 -- server MUST: 26 -- server MUST:
27 27
28 -- Clear the offline messages for this user, if any, without sending them (as 28 -- Clear the offline messages for this user, if any, without sending them (as
29 -- they will be provided by MAM). 29 -- they will be provided by MAM).
30 if mm.is_loaded(module.host, "offline") then 30 if mm.is_loaded(module.host, "offline") then -- luacheck: ignore 542
31 -- TODO 31 -- TODO
32 end 32 end
33 33
34 -- Perform resource binding to a random resource (see 6120) 34 -- Perform resource binding to a random resource (see 6120)
35 if not sm.bind_resource(session, nil) then 35 if not sm.bind_resource(session, nil) then