Changeset

776:841b5eb5fe52

mod_auto_accept_subscriptions: Import core_post_stanza
author Matthew Wild <mwild1@gmail.com>
date Sun, 05 Aug 2012 02:32:17 +0100
parents 775:70ff25db37fa
children 777:e5413b66aeec
files mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua	Sun Aug 05 02:27:58 2012 +0100
+++ b/mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua	Sun Aug 05 02:32:17 2012 +0100
@@ -1,6 +1,7 @@
 local rostermanager = require "core.rostermanager";
 local jid = require "util.jid";
 local st = require "util.stanza";
+local core_post_stanza = prosody.core_post_stanza;
 
 local function handle_inbound_subscription_request(origin, stanza)
 	local to_bare, from_bare = jid.bare(stanza.attr.to), jid.bare(stanza.attr.from);