]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_muc/mod_muc_room.erl: Added logging of MUC admin/owner
authorAlexey Shchepin <alexey@process-one.net>
Sat, 1 Sep 2007 21:15:40 +0000 (21:15 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Sat, 1 Sep 2007 21:15:40 +0000 (21:15 +0000)
queries

SVN Revision: 907

ChangeLog
src/mod_muc/mod_muc_room.erl

index 32d447e70cb318e20df091fcecc98131c35346a4..90498324a9145e957908d290c00476f414ffdc40 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-02  Alexey Shchepin  <alexey@process-one.net>
+
+       * src/mod_muc/mod_muc_room.erl: Added logging of MUC admin/owner
+       queries
+
 2007-09-01  Alexey Shchepin  <alexey@process-one.net>
 
        * src/mod_muc/mod_muc_room.erl: Added user_message_shaper and
index de8c64ad4a164d7dc9649bcbcf1dfc53fef10a52..fccd09cbd5d0a59dd5913e42639c2e6b6342a360 100644 (file)
@@ -1905,6 +1905,8 @@ process_admin_items_set(UJID, Items, Lang, StateData) ->
     URole = get_role(UJID, StateData),
     case find_changed_items(UJID, UAffiliation, URole, Items, Lang, StateData, []) of
        {result, Res} ->
+           ?INFO_MSG("Processing MUC admin query from ~s:~n ~p~n",
+                     [jlib:jid_to_string(UJID), Res]),
            NSD =
                lists:foldl(
                  fun(E, SD) ->