Mercurial > prosody-modules
comparison mod_block_strangers/mod_block_strangers.lua @ 1929:82834df1dea6
mod_block_strangers: Add missing import of util.stanza
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Oct 2015 16:57:06 +0200 |
parents | 252b634b065d |
children | bd0c5d546bf8 |
comparison
equal
deleted
inserted
replaced
1928:252b634b065d | 1929:82834df1dea6 |
---|---|
1 | 1 |
2 local st = require"util.stanza"; | |
2 local jid_split = require "util.jid".split; | 3 local jid_split = require "util.jid".split; |
3 local jid_bare = require "util.jid".bare; | 4 local jid_bare = require "util.jid".bare; |
4 local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed; | 5 local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed; |
5 | 6 |
6 function check_subscribed(event) | 7 function check_subscribed(event) |