moduleapi: Add luacheck annotation to suppress warning about unused self
This is a convenience function, and there is currently no module-specific code
required to implement it. Not using 'self' is to be expected.
--- a/core/moduleapi.lua Sat Apr 01 11:59:50 2023 +0100
+++ b/core/moduleapi.lua Sat Apr 01 12:30:29 2023 +0100
@@ -694,7 +694,7 @@
end
-- Execute a function, once, but only after startup is complete
-function api:once(f)
+function api:once(f) --luacheck: ignore 212/self
return prosody.started:next(f);
end