Comparison

plugins/mod_console.lua @ 2087:5efd79871205

mod_console: Moved activation of the console port from the main file to mod_console.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 18 Nov 2009 08:30:03 +0500
parent 2054:a43aea9b0bd1
child 2145:daeb6ebf304c
child 2870:471c3acffb2a
comparison
equal deleted inserted replaced
2086:911251f00f32 2087:5efd79871205
648 setfenv(option, redirect_output(_G, session)); 648 setfenv(option, redirect_output(_G, session));
649 pcall(option, session); 649 pcall(option, session);
650 end 650 end
651 end 651 end
652 end 652 end
653
654 prosody.net_activate_ports("console", "console", {5582}, "tcp");