Comparison

plugins/mod_admin_adhoc.lua @ 5013:ab693eea0869

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.
author Kim Alvefur <zash@zash.se>
date Thu, 26 Jul 2012 04:33:17 +0200
parent 4993:5243b74a4cbb
child 5076:88fb94df9b18
comparison
equal deleted inserted replaced
5012:d59c842fe38e 5013:ab693eea0869
21 local st, jid, uuid = require "util.stanza", require "util.jid", require "util.uuid"; 21 local st, jid, uuid = require "util.stanza", require "util.jid", require "util.uuid";
22 local timer_add_task = require "util.timer".add_task; 22 local timer_add_task = require "util.timer".add_task;
23 local dataforms_new = require "util.dataforms".new; 23 local dataforms_new = require "util.dataforms".new;
24 local array = require "util.array"; 24 local array = require "util.array";
25 local modulemanager = require "modulemanager"; 25 local modulemanager = require "modulemanager";
26 local core_post_stanza = prosody.core_post_stanza;
26 27
27 module:depends("adhoc"); 28 module:depends("adhoc");
28 local adhoc_new = module:require "adhoc".new; 29 local adhoc_new = module:require "adhoc".new;
29 30
30 local function generate_error_message(errors) 31 local function generate_error_message(errors)