aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_console.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-05 19:50:34 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-05 19:50:34 +0000
commitfe6e46a55f68f566290250655247cd1393ae6d2c (patch)
tree1cf6e6e0fad1a9efd467895c02e748522dc2ca06 /plugins/mod_console.lua
parentb2afc52730ae023a4fa3c4da525b3d1f92e5f1b9 (diff)
parentc016526d9d5b57c8b6157cba7eee4bb268e1e9b4 (diff)
downloadprosody-fe6e46a55f68f566290250655247cd1393ae6d2c.tar.gz
prosody-fe6e46a55f68f566290250655247cd1393ae6d2c.zip
Merge
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);