Software /
code /
prosody
Comparison
plugins/mod_mam/mod_mam.lua @ 7901:fc859aed9279
mod_mam: Fix wording of comment
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 19 Feb 2017 13:44:47 +0100 |
parent | 7891:01d2a2af3146 |
child | 7902:92b70a921acb |
comparison
equal
deleted
inserted
replaced
7899:2b3d0ab67f7d | 7901:fc859aed9279 |
---|---|
332 cleanup = {}; | 332 cleanup = {}; |
333 | 333 |
334 -- Iterating over users is not supported by all authentication modules | 334 -- Iterating over users is not supported by all authentication modules |
335 -- Catch and ignore error if not supported | 335 -- Catch and ignore error if not supported |
336 pcall(function () | 336 pcall(function () |
337 -- If this works, then we schedule cleanup for all known known | 337 -- If this works, then we schedule cleanup for all known users on startup |
338 for user in um.users(module.host) do | 338 for user in um.users(module.host) do |
339 cleanup[user] = true; | 339 cleanup[user] = true; |
340 end | 340 end |
341 end); | 341 end); |
342 | 342 |