aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commitdedea4fb31246e53e8700d90a9f29e0950016b6e (patch)
treee749cc2f8ac873b5d6c6cb766b214d403d0d727a /util
parentdc5a16d90106a11f881bbcd0df8a88581e32d9ff (diff)
downloadprosody-dedea4fb31246e53e8700d90a9f29e0950016b6e.tar.gz
prosody-dedea4fb31246e53e8700d90a9f29e0950016b6e.zip
util.pubsub: Remove unused argument
I think this was probably a copy-paste mistake.
Diffstat (limited to 'util')
-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;