mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
Prevent normal (Text) IM from being logged by the group message module in
debug mode. Fixes Mantis #3609
This commit is contained in:
@@ -496,7 +496,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
|
||||
private void DebugGridInstantMessage(GridInstantMessage im)
|
||||
{
|
||||
if (m_debugEnabled)
|
||||
// Don't log any normal IMs (privacy!)
|
||||
if (m_debugEnabled && im.dialog != (byte)InstantMessageDialog.MessageFromAgent)
|
||||
{
|
||||
m_log.WarnFormat("[GROUPS-MESSAGING]: IM: fromGroup({0})", im.fromGroup ? "True" : "False");
|
||||
m_log.WarnFormat("[GROUPS-MESSAGING]: IM: Dialog({0})", ((InstantMessageDialog)im.dialog).ToString());
|
||||
|
||||
Reference in New Issue
Block a user