Software /
code /
prosody
Changeset
3025:f1e1b7629807
mod_console: Ensure that a null byte is printed after sending the banner.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 07 May 2010 16:13:05 +0500 |
parents | 3024:9c74785c6351 |
children | 3028:e095d2a98936 |
files | plugins/mod_console.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_console.lua Fri May 07 16:02:29 2010 +0500 +++ b/plugins/mod_console.lua Fri May 07 16:13:05 2010 +0500 @@ -58,6 +58,7 @@ local session = console:new_session(conn); sessions[conn] = session; printbanner(session); + session.send(string.char(0)); end function console_listener.onincoming(conn, data)