]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_privacy.erl: Bugfix
authorAlexey Shchepin <alexey@process-one.net>
Wed, 17 Oct 2007 02:19:44 +0000 (02:19 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Wed, 17 Oct 2007 02:19:44 +0000 (02:19 +0000)
SVN Revision: 958

ChangeLog
src/mod_privacy.erl

index 1540b37c72434b1e44ffd014adba666c1dee7cdb..1bb57e99356ee4bee7ffc3c7b57f21102c23c8a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-17  Alexey Shchepin  <alexey@process-one.net>
+
+       * src/mod_privacy.erl: Bugfix
+
 2007-10-07  Alexey Shchepin  <alexey@process-one.net>
 
        * src/mod_vcard_odbc.erl: Reverted previous change
index c1f11a36c0afc32e38602b106b979c8e845bf8ec..4b984cbec9fd6ce2d6d7191756c733ea9c698355 100644 (file)
@@ -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},