aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/moduleapi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index 8479284d..3ee8647f 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -694,7 +694,7 @@ function api:may(action, context, peek)
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