mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
util.pubsub: Remove unused argument
I think this was probably a copy-paste mistake.
This commit is contained in:
parent
dc5a16d901
commit
dedea4fb31
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ function service:may(node, actor, action)
|
||||||
return false;
|
return false;
|
||||||
end
|
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 node_obj = self.nodes[node];
|
||||||
local access_model = node_obj and node_obj.config.access_model
|
local access_model = node_obj and node_obj.config.access_model
|
||||||
or self.node_defaults.access_model;
|
or self.node_defaults.access_model;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue