aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-01-17 14:12:45 +0000
committerMatthew Wild <mwild1@gmail.com>2022-01-17 14:12:45 +0000
commit2e538ffc6b59aab516438774037324acc240b317 (patch)
treef64c07e9cc85931bbad8ed70e2d1e336d15c4910
parentee1f7077e34a29c4df136fa8a2ccc03b1db4daf2 (diff)
downloadprosody-2e538ffc6b59aab516438774037324acc240b317.tar.gz
prosody-2e538ffc6b59aab516438774037324acc240b317.zip
mod_storage_xep0227: Fix traceback during iteration of driver stores
:include(other_set), :add(item)
-rw-r--r--plugins/mod_storage_xep0227.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua
index c4fe30a4..d169de24 100644
--- a/plugins/mod_storage_xep0227.lua
+++ b/plugins/mod_storage_xep0227.lua
@@ -694,7 +694,7 @@ local function get_store_names_from_xml(self, user_xml)
if handler_funcs._stores then
stores:include(handler_funcs._stores(self, user_xml));
else
- stores:include(handler_name);
+ stores:add(handler_name);
end
end
return stores;