diff options
author | Dr Scofield | 2008-05-23 16:10:11 +0000 |
---|---|---|
committer | Dr Scofield | 2008-05-23 16:10:11 +0000 |
commit | b3e413bef7cab72e005b51a37f9ec4fd4375013d (patch) | |
tree | 65cdcfa46230615e9e6ba3ef04fe85eaa1c53e59 | |
parent | IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in (diff) | |
download | opensim-SC-b3e413bef7cab72e005b51a37f9ec4fd4375013d.zip opensim-SC-b3e413bef7cab72e005b51a37f9ec4fd4375013d.tar.gz opensim-SC-b3e413bef7cab72e005b51a37f9ec4fd4375013d.tar.bz2 opensim-SC-b3e413bef7cab72e005b51a37f9ec4fd4375013d.tar.xz |
forgot to actually remove IRCBridgeModule.FindClientRegion()
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs | 32 |
1 files changed, 0 insertions, 32 deletions
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 | |||
311 | Thread.Sleep(15000); | 311 | Thread.Sleep(15000); |
312 | } | 312 | } |
313 | } | 313 | } |
314 | |||
315 | public string FindClientRegion(string firstName, string lastName, bool ignoreChilds) | ||
316 | { | ||
317 | string sourceRegion = null; | ||
318 | foreach (Scene s in m_scenes) | ||
319 | { | ||
320 | s.ForEachScenePresence(delegate(ScenePresence presence) | ||
321 | { | ||
322 | if (ignoreChilds | ||
323 | && (presence.Firstname == firstName) | ||
324 | && (presence.Lastname == lastName)) | ||
325 | { | ||
326 | sourceRegion = presence.Scene.RegionInfo.RegionName; | ||
327 | return; | ||
328 | } | ||
329 | |||
330 | if (!ignoreChilds && !presence.IsChildAgent | ||
331 | && (presence.Firstname == firstName) | ||
332 | && (presence.Lastname == lastName)) | ||
333 | { | ||
334 | sourceRegion = presence.Scene.RegionInfo.RegionName; | ||
335 | return; | ||
336 | } | ||
337 | }); | ||
338 | if (sourceRegion != null) return sourceRegion; | ||
339 | } | ||
340 | if (m_defaultzone == null) | ||
341 | { | ||
342 | m_defaultzone = "Sim"; | ||
343 | } | ||
344 | return m_defaultzone; | ||
345 | } | ||
346 | } | 314 | } |
347 | 315 | ||
348 | internal class IRCChatModule | 316 | internal class IRCChatModule |