Comparison

plugins/mod_pep_plus.lua @ 6264:12a083299bb7

mod_pep_plus: Expose get_pep_service()
author Kim Alvefur <zash@zash.se>
date Wed, 28 May 2014 21:52:57 +0200
parent 5852:84bdac93910f
child 6305:38d82f8ead25
comparison
equal deleted inserted replaced
6263:e208950446c8 6264:12a083299bb7
50 end 50 end
51 end 51 end
52 return simple_broadcast; 52 return simple_broadcast;
53 end 53 end
54 54
55 local function get_pep_service(name) 55 function get_pep_service(name)
56 if services[name] then 56 if services[name] then
57 return services[name]; 57 return services[name];
58 end 58 end
59 services[name] = pubsub.new({ 59 services[name] = pubsub.new({
60 capabilities = { 60 capabilities = {