Software /
code /
prosody-modules
Changeset
798:2b8ceb4d1a73
mod_mam: remove useless check
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Aug 2012 21:16:35 +0200 |
parents | 797:68a067d5ed3b |
children | 799:53917d98d411 |
files | mod_mam/mod_mam.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua Wed Aug 15 17:29:18 2012 +0200 +++ b/mod_mam/mod_mam.lua Thu Aug 16 21:16:35 2012 +0200 @@ -232,7 +232,7 @@ local function has_in_roster(user, who) local roster = rm_load_roster(user, host); module:log("debug", "%s has %s in roster? %s", user, who, roster[who] and "yes" or "no"); - return roster and roster[who]; + return roster[who]; end local function shall_store(user, who)