aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-03-27 18:09:42 -0400
committerdaurnimator <quae@daurnimator.com>2014-03-27 18:09:42 -0400
commitc8387ffd1b04c06ce767fd8d087d05b23eddb455 (patch)
tree0235ed0d0427e78e8b6976d3c4a73c3731b132b1 /plugins/muc/muc.lib.lua
parent11354adf944504dfb6d04461ed345cf5cf05e9d6 (diff)
downloadprosody-c8387ffd1b04c06ce767fd8d087d05b23eddb455.tar.gz
prosody-c8387ffd1b04c06ce767fd8d087d05b23eddb455.zip
plugins/muc: Rename admin query hook
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index c955d47b..7e41b225 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -900,7 +900,7 @@ function room_mt:handle_disco_items_get_query(origin, stanza)
return true;
end
-function room_mt:handle_admin_item_set_command(origin, stanza)
+function room_mt:handle_admin_query_set_command(origin, stanza)
local item = stanza.tags[1].tags[1];
if item.attr.jid then -- Validate provided JID
item.attr.jid = jid_prep(item.attr.jid);
@@ -933,7 +933,7 @@ function room_mt:handle_admin_item_set_command(origin, stanza)
end
end
-function room_mt:handle_admin_item_get_command(origin, stanza)
+function room_mt:handle_admin_query_get_command(origin, stanza)
local actor = stanza.attr.from;
local affiliation = self:get_affiliation(actor);
local item = stanza.tags[1].tags[1];