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 | 790e0bb9b426413f10e5efcd0dfd680e9bf20de2 (patch) | |
tree | ad383c5a7b1d99bcaef9b8235b4746c304f3c569 /plugins/mod_admin_telnet.lua | |
parent | 6576b53bed0e9f7d0a4d0ee9bb300093e81024df (diff) | |
download | prosody-790e0bb9b426413f10e5efcd0dfd680e9bf20de2.tar.gz prosody-790e0bb9b426413f10e5efcd0dfd680e9bf20de2.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 }); |