diff mod_mam/mod_mam.lua @ 798:2b8ceb4d1a73

mod_mam: remove useless check
author Kim Alvefur <zash@zash.se>
date Thu, 16 Aug 2012 21:16:35 +0200
parents 3c37445f26ac
children 53917d98d411
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)