diff options
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs index d5cd7e2..eb9f804 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | |||
@@ -436,14 +436,14 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
436 | OnNewGroupNotice(GroupID, NoticeID); | 436 | OnNewGroupNotice(GroupID, NoticeID); |
437 | } | 437 | } |
438 | 438 | ||
439 | // Build notice IIM | ||
440 | GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice); | ||
441 | |||
442 | // Send notice out to everyone that wants notices | 439 | // Send notice out to everyone that wants notices |
443 | foreach (GroupMembersData member in m_groupData.GetGroupMembers(GroupID)) | 440 | foreach (GroupMembersData member in m_groupData.GetGroupMembers(GroupID)) |
444 | { | 441 | { |
445 | if (member.AcceptNotices) | 442 | if (member.AcceptNotices) |
446 | { | 443 | { |
444 | // Build notice IIM | ||
445 | GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice); | ||
446 | |||
447 | msg.toAgentID = member.AgentID.Guid; | 447 | msg.toAgentID = member.AgentID.Guid; |
448 | OutgoingInstantMessage(msg, member.AgentID); | 448 | OutgoingInstantMessage(msg, member.AgentID); |
449 | 449 | ||