Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
9219:3ce18a4018f4 | 9220:c4f9469b203f |
---|---|
210 end | 210 end |
211 | 211 |
212 return false; | 212 return false; |
213 end | 213 end |
214 | 214 |
215 function service:get_default_affiliation(node, actor, action) -- luacheck: ignore 212 | 215 function service:get_default_affiliation(node, actor) |
216 local node_obj = self.nodes[node]; | 216 local node_obj = self.nodes[node]; |
217 local access_model = node_obj and node_obj.config.access_model | 217 local access_model = node_obj and node_obj.config.access_model |
218 or self.node_defaults.access_model; | 218 or self.node_defaults.access_model; |
219 | 219 |
220 if access_model == "open" then | 220 if access_model == "open" then |