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 | c80b30a71ceb555bb33d14c3c7dbee0a8c93eaee (patch) | |
tree | b4ffbcba45331b7fa86a9e1d1881e94b8fef9d42 /plugins/mod_component.lua | |
parent | a540fdb9f448eb0990899b70e0ed8ab926e979f6 (diff) | |
parent | 69d97b4f7ed15249ce71a5b261bff98a008684aa (diff) | |
download | prosody-c80b30a71ceb555bb33d14c3c7dbee0a8c93eaee.tar.gz prosody-c80b30a71ceb555bb33d14c3c7dbee0a8c93eaee.zip |
Merge 0.9->0.10
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 297609d8..53ef4ed0 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -317,6 +317,10 @@ function listener.ondisconnect(conn, err) end end +function listener.ondetach(conn) + sessions[conn] = nil; +end + module:provides("net", { name = "component"; private = true; |