aboutsummaryrefslogtreecommitdiff
path: root/src/mod_blocking.erl
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2011-12-21 18:27:24 +0200
committerAlexey Shchepin <alexey@process-one.net>2011-12-21 18:28:04 +0200
commit3839f1055a3378992300dcad19edf8198c96a717 (patch)
tree147606db4caf16cfca0dff2b403b9a5d7e6d3bb3 /src/mod_blocking.erl
parentCorrected mod_blocking hooks return value, activate "Blocked Contacts" privac... (diff)
Fixed the previous mod_blocking patch
Diffstat (limited to '')
-rw-r--r--src/mod_blocking.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_blocking.erl b/src/mod_blocking.erl
index 00977e631..7f3bd684e 100644
--- a/src/mod_blocking.erl
+++ b/src/mod_blocking.erl
@@ -199,7 +199,7 @@ process_blocklist_block(LUser, LServer, JIDs) ->
Error;
{atomic, {ok, Default, List}} ->
UserList = make_userlist(Default, List),
- broadcast_list_update(LUser, LServer, Default, List),
+ broadcast_list_update(LUser, LServer, Default, UserList),
broadcast_blocklist_event(LUser, LServer, {block, JIDs}),
{result, [], UserList};
_ ->