summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2016-08-10 11:16:20 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2016-08-10 11:22:19 +0200
commite63fe5c2160088cf1585fc14e32fc13853888f06 (patch)
tree4f13e73441b633b605c9aa4343409ea408739e0c /src
parentAdd commands for MUC subscriptions management (diff)
Fix result type of subscribe_room command
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc_admin.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl
index a07ac0bc..692dedf5 100644
--- a/src/mod_muc_admin.erl
+++ b/src/mod_muc_admin.erl
@@ -157,7 +157,7 @@ get_commands_spec() ->
module = ?MODULE, function = subscribe_room,
args = [{user, binary}, {nick, binary}, {room, binary},
{nodes, binary}],
- result = {list, {node, string}}},
+ result = {nodes, {list, {node, string}}}},
#ejabberd_commands{name = unsubscribe_room, tags = [muc_room],
desc = "Unsubscribe from a MUC conference",
module = ?MODULE, function = unsubscribe_room,