aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_message.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-22 16:59:12 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-22 16:59:12 +0100
commitefc4ec5efea1a4160a2651973e5cf5f5a2c3b6c3 (patch)
tree7c298aa9603c19f3284b56563aaf4c78bcc59af0 /plugins/mod_message.lua
parent16d3a8809791d5f038782617779466cc4f9321ae (diff)
downloadprosody-efc4ec5efea1a4160a2651973e5cf5f5a2c3b6c3.tar.gz
prosody-efc4ec5efea1a4160a2651973e5cf5f5a2c3b6c3.zip
mod_c2s: Don't call ondisconnect manually on close, it is now called by net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data).
Diffstat (limited to 'plugins/mod_message.lua')
0 files changed, 0 insertions, 0 deletions