aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-02 23:06:27 +0200
committerKim Alvefur <zash@zash.se>2017-04-02 23:06:27 +0200
commiteb6122c3e9c7f34f089bf26f3950f0574b05db46 (patch)
tree358e773c362310c340614ec2915410dc3f490367
parentd6f2c308a4151199c34d3baeb910f40c64d55be8 (diff)
parent879f2148f684a9e234dc042e45e7fd49f376ac2d (diff)
downloadprosody-eb6122c3e9c7f34f089bf26f3950f0574b05db46.tar.gz
prosody-eb6122c3e9c7f34f089bf26f3950f0574b05db46.zip
Merge 0.10->trunk
-rw-r--r--.luacheckrc2
-rw-r--r--plugins/mod_mam/mod_mam.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 8b1afa42..91face3f 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -23,7 +23,6 @@ files["plugins/"] = {
"module.event_handlers",
"module.reloading",
"module.saved_state",
- "module.environment",
"module.global",
"module.path",
@@ -87,6 +86,7 @@ files["plugins/"] = {
"module.save",
"module.restore",
"module.command",
+ "module.environment",
};
}
files["tests/"] = {
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 55572867..0c35f43f 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -38,7 +38,7 @@ local default_max_items, max_max_items = 20, module:get_option_number("max_archi
local strip_tags = module:get_option_set("dont_archive_namespaces", { "http://jabber.org/protocol/chatstates" });
local archive_store = module:get_option_string("archive_store", "archive");
-local archive = assert(module:open_store(archive_store, "archive"));
+local archive = module:open_store(archive_store, "archive");
if archive.name == "null" or not archive.find then
if not archive.find then