Comparison

plugins/mod_component.lua @ 5298:6d34ed9fce69

mod_component: Make listener private (thanks Ge0rG)
author Kim Alvefur <zash@zash.se>
date Thu, 17 Jan 2013 21:57:35 +0100
parent 5120:bcabea740c00
child 5306:10bc0e2aa55e
comparison
equal deleted inserted replaced
5297:7453245f16e7 5298:6d34ed9fce69
307 end 307 end
308 end 308 end
309 309
310 module:provides("net", { 310 module:provides("net", {
311 name = "component"; 311 name = "component";
312 private = true;
312 listener = listener; 313 listener = listener;
313 default_port = 5347; 314 default_port = 5347;
314 multiplex = { 315 multiplex = {
315 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:component%1.*>"; 316 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:component%1.*>";
316 }; 317 };