# HG changeset patch # User Kim Alvefur # Date 1346037536 -7200 # Node ID ba2e207e1fb73bea6c1802781cd90ed4870a5fc7 # Parent 7d1d3ca31d03bee3d1f726d4092e26fe359123e0 mod_mam: Fix variable name, blame autocomplete diff -r 7d1d3ca31d03 -r ba2e207e1fb7 mod_mam/mod_mam.lua --- a/mod_mam/mod_mam.lua Sun Aug 26 23:34:36 2012 +0000 +++ b/mod_mam/mod_mam.lua Mon Aug 27 05:18:56 2012 +0200 @@ -128,7 +128,7 @@ if qstart or qend then -- Validate timestamps local vstart, vend = (qstart and timestamp_parse(qstart)), (qend and timestamp_parse(qend)) - if (qstart and not qwith) or (qend and not vend) then + if (qstart and not vstart) or (qend and not vend) then origin.send(st.error_reply(stanza, "modify", "bad-request", "Invalid timestamp")) return true end