aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2007-09-01 21:15:40 +0000
committerAlexey Shchepin <alexey@process-one.net>2007-09-01 21:15:40 +0000
commit978b7aea125bbf49ebae2fab7d24a08022c7cf2f (patch)
tree3915fc151d0b2d930134106ecdae4273c9adf8bd
parent* src/mod_muc/mod_muc_room.erl: Added user_message_shaper and (diff)
* src/mod_muc/mod_muc_room.erl: Added logging of MUC admin/owner
queries SVN Revision: 907
-rw-r--r--ChangeLog5
-rw-r--r--src/mod_muc/mod_muc_room.erl2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 32d447e70..90498324a 100644
--- 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
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index de8c64ad4..fccd09cbd 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -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) ->