Comparison

plugins/mod_admin_telnet.lua @ 6383:ec8878113907

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 02 Sep 2014 22:34:32 +0200
parent 6313:8bd486b6e5ec
parent 6382:57d23c26039b
child 6511:5f9389af5115
comparison
equal deleted inserted replaced
6372:305226a9e581 6383:ec8878113907
166 local session = sessions[conn]; 166 local session = sessions[conn];
167 if session then 167 if session then
168 session.disconnect(); 168 session.disconnect();
169 sessions[conn] = nil; 169 sessions[conn] = nil;
170 end 170 end
171 end
172
173 function console_listener.ondetach(conn)
174 sessions[conn] = nil;
171 end 175 end
172 176
173 -- Console commands -- 177 -- Console commands --
174 -- These are simple commands, not valid standalone in Lua 178 -- These are simple commands, not valid standalone in Lua
175 179