aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-09 17:02:03 +0000
committerMelanie Thielker2009-05-09 17:02:03 +0000
commit93d54d7652176350ce3dc517972e81adb6a7f1ac (patch)
tree3e1bcf031562591e9dcf148b2f72473549b7f3cc /OpenSim/Region/OptionalModules/Avatar
parentFox a boo-boo in ExtraParams - a packet with no data blocks could crash (diff)
downloadopensim-SC-93d54d7652176350ce3dc517972e81adb6a7f1ac.zip
opensim-SC-93d54d7652176350ce3dc517972e81adb6a7f1ac.tar.gz
opensim-SC-93d54d7652176350ce3dc517972e81adb6a7f1ac.tar.bz2
opensim-SC-93d54d7652176350ce3dc517972e81adb6a7f1ac.tar.xz
Prevent normal (Text) IM from being logged by the group message module in
debug mode. Fixes Mantis #3609
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs
index a613ec2..da7aa6b 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs
@@ -496,7 +496,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
496 496
497 private void DebugGridInstantMessage(GridInstantMessage im) 497 private void DebugGridInstantMessage(GridInstantMessage im)
498 { 498 {
499 if (m_debugEnabled) 499 // Don't log any normal IMs (privacy!)
500 if (m_debugEnabled && im.dialog != (byte)InstantMessageDialog.MessageFromAgent)
500 { 501 {
501 m_log.WarnFormat("[GROUPS-MESSAGING]: IM: fromGroup({0})", im.fromGroup ? "True" : "False"); 502 m_log.WarnFormat("[GROUPS-MESSAGING]: IM: fromGroup({0})", im.fromGroup ? "True" : "False");
502 m_log.WarnFormat("[GROUPS-MESSAGING]: IM: Dialog({0})", ((InstantMessageDialog)im.dialog).ToString()); 503 m_log.WarnFormat("[GROUPS-MESSAGING]: IM: Dialog({0})", ((InstantMessageDialog)im.dialog).ToString());