Comparison

plugins/mod_component.lua @ 6382:57d23c26039b

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Tue, 02 Sep 2014 22:33:11 +0200
parent 6063:e626ee2fe106
parent 6380:4220ffb87b22
child 6774:3965662ae091
comparison
equal deleted inserted replaced
6377:50e5aed4eeea 6382:57d23c26039b
315 session.destroyed = true; 315 session.destroyed = true;
316 session = nil; 316 session = nil;
317 end 317 end
318 end 318 end
319 319
320 function listener.ondetach(conn)
321 sessions[conn] = nil;
322 end
323
320 module:provides("net", { 324 module:provides("net", {
321 name = "component"; 325 name = "component";
322 private = true; 326 private = true;
323 listener = listener; 327 listener = listener;
324 default_port = 5347; 328 default_port = 5347;