diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-11-09 18:37:13 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-11-09 18:37:13 +0000 |
commit | a15849cf9ac371f9c328702a0129b4f1c63b1f90 (patch) | |
tree | e3dab93899e69c3342f06ebd3ef65bda4c11915d /plugins | |
parent | 37895d0d715ca071bc1c79554935074bbec3dd1c (diff) | |
parent | 3186d24c03e4d940aabe4619ec0b661fb27ad11d (diff) | |
download | prosody-a15849cf9ac371f9c328702a0129b4f1c63b1f90.tar.gz prosody-a15849cf9ac371f9c328702a0129b4f1c63b1f90.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_sql2.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua index 9b365a1e..824ab859 100644 --- a/plugins/mod_storage_sql2.lua +++ b/plugins/mod_storage_sql2.lua @@ -239,7 +239,7 @@ local function archive_where(query, args, where) if query.start then where[#where] = "`when` BETWEEN ? AND ?" -- is this inclusive? else - where[#where+1] = "`when` >= ?" + where[#where+1] = "`when` <= ?" end end |