diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index fff8a81..4d3dcbb 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -321,32 +321,32 @@ namespace OpenSim | |||
321 | 321 | ||
322 | #region Console Commands | 322 | #region Console Commands |
323 | 323 | ||
324 | // private void KickUserCommand(string module, string[] cmdparams) | 324 | private void KickUserCommand(string module, string[] cmdparams) |
325 | // { | 325 | { |
326 | // if (cmdparams.Length < 4) | 326 | if (cmdparams.Length < 4) |
327 | // return; | 327 | return; |
328 | 328 | ||
329 | // IList agents = m_sceneManager.GetCurrentSceneAvatars(); | 329 | IList agents = m_sceneManager.GetCurrentSceneAvatars(); |
330 | 330 | ||
331 | // foreach (ScenePresence presence in agents) | 331 | foreach (ScenePresence presence in agents) |
332 | // { | 332 | { |
333 | // RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); | 333 | RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); |
334 | 334 | ||
335 | // if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) && presence.Lastname.ToLower().Contains(cmdparams[3].ToLower())) | 335 | if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) && presence.Lastname.ToLower().Contains(cmdparams[3].ToLower())) |
336 | // { | 336 | { |
337 | // m_console.Notice( | 337 | m_console.Notice( |
338 | // String.Format( | 338 | String.Format( |
339 | // "Kicking user: {0,-16}{1,-16}{2,-37} in region: {3,-16}", | 339 | "Kicking user: {0,-16}{1,-16}{2,-37} in region: {3,-16}", |
340 | // presence.Firstname, | 340 | presence.Firstname, |
341 | // presence.Lastname, | 341 | presence.Lastname, |
342 | // presence.UUID, | 342 | presence.UUID, |
343 | // regionInfo.RegionName)); | 343 | regionInfo.RegionName)); |
344 | 344 | ||
345 | // presence.Scene.IncomingCloseAgent(presence.UUID); | 345 | presence.Scene.IncomingCloseAgent(presence.UUID); |
346 | // } | 346 | } |
347 | // } | 347 | } |
348 | // m_console.Notice(""); | 348 | m_console.Notice(""); |
349 | // } | 349 | } |
350 | 350 | ||
351 | /// <summary> | 351 | /// <summary> |
352 | /// Run an optional startup list of commands | 352 | /// Run an optional startup list of commands |