aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-26 04:33:17 +0200
committerKim Alvefur <zash@zash.se>2012-07-26 04:33:17 +0200
commit9114e88ee0cf86ca0ffe500e089389e54bb730ec (patch)
treead383c5a7b1d99bcaef9b8235b4746c304f3c569 /plugins/mod_admin_telnet.lua
parentd4e9884d66ab69c34c06bdfb9c2acda34dce2ec2 (diff)
downloadprosody-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.lua1
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 });