diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs index 0b5f1b4f92..03f9a880be 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs @@ -311,38 +311,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat Thread.Sleep(15000); } } - - public string FindClientRegion(string firstName, string lastName, bool ignoreChilds) - { - string sourceRegion = null; - foreach (Scene s in m_scenes) - { - s.ForEachScenePresence(delegate(ScenePresence presence) - { - if (ignoreChilds - && (presence.Firstname == firstName) - && (presence.Lastname == lastName)) - { - sourceRegion = presence.Scene.RegionInfo.RegionName; - return; - } - - if (!ignoreChilds && !presence.IsChildAgent - && (presence.Firstname == firstName) - && (presence.Lastname == lastName)) - { - sourceRegion = presence.Scene.RegionInfo.RegionName; - return; - } - }); - if (sourceRegion != null) return sourceRegion; - } - if (m_defaultzone == null) - { - m_defaultzone = "Sim"; - } - return m_defaultzone; - } } internal class IRCChatModule