aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-21 19:48:08 +0200
committerKim Alvefur <zash@zash.se>2018-08-21 19:48:08 +0200
commitd11fa0d993115ec884ef1003fce2458af8b93321 (patch)
treee749cc2f8ac873b5d6c6cb766b214d403d0d727a
parent8d5685c63c2fc300b392d75ff2a0681e222c0841 (diff)
downloadprosody-d11fa0d993115ec884ef1003fce2458af8b93321.tar.gz
prosody-d11fa0d993115ec884ef1003fce2458af8b93321.zip
util.pubsub: Remove unused argument
I think this was probably a copy-paste mistake.
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index 4f5b51ec..e42459f1 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -212,7 +212,7 @@ function service:may(node, actor, action)
return false;
end
-function service:get_default_affiliation(node, actor, action) -- luacheck: ignore 212
+function service:get_default_affiliation(node, actor)
local node_obj = self.nodes[node];
local access_model = node_obj and node_obj.config.access_model
or self.node_defaults.access_model;