mod_admin_messageconsole.lua
changeset 4 d02978ae44af
parent 1 7265595dbc3b
--- a/mod_admin_messageconsole.lua	Tue Jul 31 18:52:47 2012 +0200
+++ b/mod_admin_messageconsole.lua	Sun Aug 25 22:46:03 2013 +0200
@@ -4,7 +4,7 @@
 --
 -- Copyright (C) 2008-2010 Matthew Wild
 -- Copyright (C) 2008-2010 Waqas Hussain
--- Copyright (C) 2012 Mikael Berthe
+-- Copyright (C) 2012-2013 Mikael Berthe
 --
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
@@ -80,7 +80,7 @@
 	local session = new_session();
 
 	-- Process the message using admin_telnet's onincoming function
-	admin_telnet.console_incoming_message(session, body.."\n");
+	admin_telnet.console:process_line(session, body.."\n");
 
 	-- Strip trailing blank line
 	session.fulltext = tostring(session.fulltext):gsub("\n\|%s*$", "")