Diff

plugins/mod_roster.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 4265:d56c26c258e4
child 5099:39eb688e106a
line wrap: on
line diff
--- a/plugins/mod_roster.lua	Thu Jul 26 04:30:30 2012 +0200
+++ b/plugins/mod_roster.lua	Thu Jul 26 04:33:17 2012 +0200
@@ -18,7 +18,7 @@
 local rm_remove_from_roster = require "core.rostermanager".remove_from_roster;
 local rm_add_to_roster = require "core.rostermanager".add_to_roster;
 local rm_roster_push = require "core.rostermanager".roster_push;
-local core_post_stanza = core_post_stanza;
+local core_post_stanza = prosody.core_post_stanza;
 
 module:add_feature("jabber:iq:roster");