Software /
code /
prosody
Diff
plugins/mod_console.lua @ 565:3a49d85cafbc
Backed out changeset 099d8a102deb (committed too much)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Dec 2008 19:49:16 +0000 |
parent | 563:099d8a102deb |
child | 615:4ae3e81513f3 |
line wrap: on
line diff
--- a/plugins/mod_console.lua Fri Dec 05 19:24:01 2008 +0000 +++ b/plugins/mod_console.lua Fri Dec 05 19:49:16 2008 +0000 @@ -33,7 +33,7 @@ local w = conn.write; local session = { conn = conn; send = function (t) w(tostring(t)); end; - print = function (t) w("| "..tostring(t).."\r\n"); end; + print = function (t) w("| "..tostring(t).."\n"); end; disconnect = function () conn.close(); end; }; session.env = setmetatable({}, default_env_mt);