aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_console.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-05 19:49:16 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-05 19:49:16 +0000
commitc016526d9d5b57c8b6157cba7eee4bb268e1e9b4 (patch)
tree9a0fe48f76564edcc95b6dad8ddcef79d4a8f85b /plugins/mod_console.lua
parent0d2b952b610069996f733700117a2e62d5b73696 (diff)
downloadprosody-c016526d9d5b57c8b6157cba7eee4bb268e1e9b4.tar.gz
prosody-c016526d9d5b57c8b6157cba7eee4bb268e1e9b4.zip
Backed out changeset 099d8a102deb (committed too much)
Diffstat (limited to 'plugins/mod_console.lua')
-rw-r--r--plugins/mod_console.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index 9b9fc217..4ac3c5fe 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -33,7 +33,7 @@ function console:new_session(conn)
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);