From e6e146c0f76fd250cbc6d6a2d075f47568c95b73 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 8 Sep 2011 12:35:59 +0200 Subject: [PATCH] Improve room config change logging, due to allow_private_messages_from_visitors --- src/mod_muc/mod_muc_log.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_muc/mod_muc_log.erl b/src/mod_muc/mod_muc_log.erl index 1bddae8c3..3a1f168e4 100644 --- a/src/mod_muc/mod_muc_log.erl +++ b/src/mod_muc/mod_muc_log.erl @@ -877,7 +877,7 @@ roomconfig_to_string(Options, Lang, FileFormat) -> max_users -> "
" ++ OptText ++ ": \"" ++ htmlize(integer_to_list(T), FileFormat) ++ "\"
"; title -> "
" ++ OptText ++ ": \"" ++ htmlize(T, FileFormat) ++ "\"
"; description -> "
" ++ OptText ++ ": \"" ++ htmlize(T, FileFormat) ++ "\"
"; - allow_private_messages_from_visitors -> "
" ++ OptText ++ ": \"" ++ htmlize(atom_to_list(T), FileFormat) ++ "\"
"; + allow_private_messages_from_visitors -> "
" ++ OptText ++ ": \"" ++ htmlize(?T(atom_to_list(T)), FileFormat) ++ "\"
"; _ -> "\"" ++ T ++ "\"" end end, @@ -899,7 +899,7 @@ get_roomconfig_text(moderated) -> "Make room moderated"; get_roomconfig_text(members_by_default) -> "Default users as participants"; get_roomconfig_text(allow_change_subj) -> "Allow users to change the subject"; get_roomconfig_text(allow_private_messages) -> "Allow users to send private messages"; -get_roomconfig_text(allow_private_messages_from_visitors) -> "Allow visitors to send private messages"; +get_roomconfig_text(allow_private_messages_from_visitors) -> "Allow visitors to send private messages to"; get_roomconfig_text(allow_query_users) -> "Allow users to query other users"; get_roomconfig_text(allow_user_invites) -> "Allow users to send invites"; get_roomconfig_text(logging) -> "Enable logging";