diff options
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs index e22618d..018357a 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs | |||
@@ -36,6 +36,7 @@ using System.Text; | |||
36 | using System.Text.RegularExpressions; | 36 | using System.Text.RegularExpressions; |
37 | using System.Threading; | 37 | using System.Threading; |
38 | using log4net; | 38 | using log4net; |
39 | using Mono.Addins; | ||
39 | using Nini.Config; | 40 | using Nini.Config; |
40 | using Nwc.XmlRpc; | 41 | using Nwc.XmlRpc; |
41 | using OpenMetaverse; | 42 | using OpenMetaverse; |
@@ -47,6 +48,7 @@ using OpenSim.Region.CoreModules.Avatar.Chat; | |||
47 | 48 | ||
48 | namespace OpenSim.Region.OptionalModules.Avatar.Concierge | 49 | namespace OpenSim.Region.OptionalModules.Avatar.Concierge |
49 | { | 50 | { |
51 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "ConciergeModule")] | ||
50 | public class ConciergeModule : ChatModule, ISharedRegionModule | 52 | public class ConciergeModule : ChatModule, ISharedRegionModule |
51 | { | 53 | { |
52 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 54 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
@@ -546,8 +548,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.Concierge | |||
546 | c.SenderUUID = UUID.Zero; | 548 | c.SenderUUID = UUID.Zero; |
547 | c.Scene = agent.Scene; | 549 | c.Scene = agent.Scene; |
548 | 550 | ||
549 | agent.ControllingClient.SendChatMessage(msg, (byte) ChatTypeEnum.Say, PosOfGod, m_whoami, UUID.Zero, | 551 | agent.ControllingClient.SendChatMessage( |
550 | (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); | 552 | msg, (byte) ChatTypeEnum.Say, PosOfGod, m_whoami, UUID.Zero, UUID.Zero, |
553 | (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); | ||
551 | } | 554 | } |
552 | 555 | ||
553 | private static void checkStringParameters(XmlRpcRequest request, string[] param) | 556 | private static void checkStringParameters(XmlRpcRequest request, string[] param) |