diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-26 04:33:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-26 04:33:17 +0200 |
commit | 9114e88ee0cf86ca0ffe500e089389e54bb730ec (patch) | |
tree | ad383c5a7b1d99bcaef9b8235b4746c304f3c569 /plugins/mod_admin_telnet.lua | |
parent | d4e9884d66ab69c34c06bdfb9c2acda34dce2ec2 (diff) | |
download | prosody-9114e88ee0cf86ca0ffe500e089389e54bb730ec.tar.gz prosody-9114e88ee0cf86ca0ffe500e089389e54bb730ec.zip |
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 7b176d73..ca37ca7a 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -25,6 +25,7 @@ local cert_verify_identity = require "util.x509".verify_identity; local commands = module:shared("commands") local def_env = module:shared("env"); local default_env_mt = { __index = def_env }; +local core_post_stanza = prosody.core_post_stanza; local function redirect_output(_G, session) local env = setmetatable({ print = session.print }, { __index = function (t, k) return rawget(_G, k); end }); |