From b3e413bef7cab72e005b51a37f9ec4fd4375013d Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 23 May 2008 16:10:11 +0000 Subject: forgot to actually remove IRCBridgeModule.FindClientRegion() --- .../Modules/Avatar/Chat/IRCBridgeModule.cs | 32 ---------------------- 1 file changed, 32 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Avatar/Chat') diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs index 0b5f1b4..03f9a88 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 -- cgit v1.1