Diff

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
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Sun Aug 31 20:33:47 2014 +0200
+++ b/plugins/mod_admin_telnet.lua	Tue Sep 02 22:34:32 2014 +0200
@@ -170,6 +170,10 @@
 	end
 end
 
+function console_listener.ondetach(conn)
+	sessions[conn] = nil;
+end
+
 -- Console commands --
 -- These are simple commands, not valid standalone in Lua