Diff

plugins/mod_storage_sql.lua @ 12824:735bf601b78d

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 29 Dec 2022 18:28:50 +0100
parent 12723:4cfd09343947
parent 12823:dd6c35325241
child 12830:0c3184378032
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Thu Dec 29 16:29:03 2022 +0000
+++ b/plugins/mod_storage_sql.lua	Thu Dec 29 18:28:50 2022 +0100
@@ -831,7 +831,6 @@
 end
 
 function module.load()
-	if prosody.process_type == "prosodyctl" then return; end
 	local engines = module:shared("/*/sql/connections");
 	local params = normalize_params(module:get_option("sql", default_params));
 	local db_uri = sql.db2uri(params);