# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1736289461 -3600
# Node ID 5033029130f513cfaec12eb74353b8e0bf44ffcb
# Parent  0338a55691782aed4380be4a6b17bb07a7987204
mod_pubsub: Quiet down check for service admin

This produced a *lot* of noise, especially listing items.

diff -r 0338a5569178 -r 5033029130f5 plugins/mod_pubsub/mod_pubsub.lua
--- a/plugins/mod_pubsub/mod_pubsub.lua	Tue Jan 07 22:57:39 2025 +0100
+++ b/plugins/mod_pubsub/mod_pubsub.lua	Tue Jan 07 23:37:41 2025 +0100
@@ -208,7 +208,7 @@
 		-- Only one affiliation is allowed to create nodes by default
 		return "owner";
 	end
-	if module:may(":service-admin", bare_jid) then
+	if module:could(":service-admin", bare_jid) then
 		return admin_aff;
 	end
 end