Diff

util/pubsub.lua @ 9220:c4f9469b203f

util.pubsub: Remove unused argument I think this was probably a copy-paste mistake.
author Kim Alvefur <zash@zash.se>
date Tue, 21 Aug 2018 19:48:08 +0200
parent 9218:7e27dc4d100b
child 9230:711fea229e48
line wrap: on
line diff
--- a/util/pubsub.lua	Sun Aug 19 23:44:01 2018 +0100
+++ b/util/pubsub.lua	Tue Aug 21 19:48:08 2018 +0200
@@ -212,7 +212,7 @@
 	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;