--- a/mod_admin_messageconsole.lua Tue Jul 31 18:17:40 2012 +0200
+++ b/mod_admin_messageconsole.lua Tue Jul 31 18:31:42 2012 +0200
@@ -10,12 +10,12 @@
-- COPYING file in the source package for more information.
--
-local st = require "util.stanza"; -- Import Prosody's stanza API into 'st'
+local st = require "util.stanza";
local um_is_admin = require "core.usermanager".is_admin;
local admin_telnet = module:depends("admin_telnet");
local telnet_def_env = module:shared("/*/admin_telnet/env");
-local telnet_commands = module:shared("/*/admin_telnet/commands")
+local telnet_commands = module:shared("/*/admin_telnet/commands");
local default_env_mt = { __index = telnet_def_env };
local host = module.host;
@@ -40,7 +40,7 @@
else
session.fulltext = text;
end
- end;
+ end
session.env = setmetatable({}, default_env_mt);