diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-02 22:33:11 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-02 22:33:11 +0200 |
commit | ab57f00b936342c599aadf901f85e5b29ee91baa (patch) | |
tree | b4ffbcba45331b7fa86a9e1d1881e94b8fef9d42 /plugins/mod_admin_telnet.lua | |
parent | e41db733ad45978e4b3193af348c220623125a0e (diff) | |
parent | 3d6dafb89a05a6aad4d102266172e377d9491360 (diff) | |
download | prosody-ab57f00b936342c599aadf901f85e5b29ee91baa.tar.gz prosody-ab57f00b936342c599aadf901f85e5b29ee91baa.zip |
Merge 0.9->0.10
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 5388a0e6..a17b1c57 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -170,6 +170,10 @@ function console_listener.ondisconnect(conn, err) end end +function console_listener.ondetach(conn) + sessions[conn] = nil; +end + -- Console commands -- -- These are simple commands, not valid standalone in Lua |