diff --git a/ChangeLog b/ChangeLog index 1540b37c7..1bb57e993 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-17 Alexey Shchepin + + * src/mod_privacy.erl: Bugfix + 2007-10-07 Alexey Shchepin * src/mod_vcard_odbc.erl: Reverted previous change diff --git a/src/mod_privacy.erl b/src/mod_privacy.erl index c1f11a36c..4b984cbec 100644 --- a/src/mod_privacy.erl +++ b/src/mod_privacy.erl @@ -310,10 +310,6 @@ process_active_set(_LUser, _LServer, false) -> {result, [], #userlist{}}. - - - - process_list_set(LUser, LServer, {value, Name}, Els) -> case parse_items(Els) of false -> @@ -374,8 +370,8 @@ process_list_set(LUser, LServer, {value, Name}, Els) -> Error; {atomic, {result, _} = Res} -> ejabberd_router:route( - jlib:make_jid(LUser, ?MYNAME, ""), - jlib:make_jid(LUser, ?MYNAME, ""), + jlib:make_jid(LUser, LServer, ""), + jlib:make_jid(LUser, LServer, ""), {xmlelement, "broadcast", [], [{privacy_list, #userlist{name = Name, list = List},