Automated merge with http://waqas.ath.cx:8000/
[prosody.git] / plugins / mod_console.lua
index 9b9fc2179ed9bf3f698d98f1f78bce9d9efae21d..d6383a780f19eca232e2e8310034d3df68fc942d 100644 (file)
@@ -1,4 +1,4 @@
--- Prosody IM v0.1
+-- Prosody IM v0.2
 -- Copyright (C) 2008 Matthew Wild
 -- Copyright (C) 2008 Waqas Hussain
 -- 
@@ -33,7 +33,7 @@ function console:new_session(conn)
        local w = conn.write;\r
        local session = { conn = conn;\r
                        send = function (t) w(tostring(t)); end;\r
-                       print = function (t) w("| "..tostring(t).."\r\n"); end;\r
+                       print = function (t) w("| "..tostring(t).."\n"); end;\r
                        disconnect = function () conn.close(); end;\r
                        };\r
        session.env = setmetatable({}, default_env_mt);\r