diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-05-07 16:13:05 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-05-07 16:13:05 +0500 |
commit | 5459f25151b4de3d3d51120dbf2a6ee8ebabb088 (patch) | |
tree | 5bb59a833724c97d36a085f5f0fd838e74915e26 | |
parent | 43658f9669a5a3566bdf12e81b3793fdecacf4eb (diff) | |
download | prosody-5459f25151b4de3d3d51120dbf2a6ee8ebabb088.tar.gz prosody-5459f25151b4de3d3d51120dbf2a6ee8ebabb088.zip |
mod_console: Ensure that a null byte is printed after sending the banner.
-rw-r--r-- | plugins/mod_console.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua index 4457a2f3..4180e2b6 100644 --- a/plugins/mod_console.lua +++ b/plugins/mod_console.lua @@ -58,6 +58,7 @@ function console_listener.onconnect(conn) local session = console:new_session(conn); sessions[conn] = session; printbanner(session); + session.send(string.char(0)); end function console_listener.onincoming(conn, data) |