Diff

plugins/mod_presence.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 5060:b0e36777f715
line wrap: on
line diff
--- a/plugins/mod_presence.lua	Thu Jul 26 04:30:30 2012 +0200
+++ b/plugins/mod_presence.lua	Thu Jul 26 04:33:17 2012 +0200
@@ -14,6 +14,7 @@
 local s_find = string.find;
 local tonumber = tonumber;
 
+local core_post_stanza = prosody.core_post_stanza;
 local st = require "util.stanza";
 local jid_split = require "util.jid".split;
 local jid_bare = require "util.jid".bare;