From b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Mon, 9 Feb 2009 10:40:12 +0000 Subject: fixing warnings. --- OpenSim/Region/Application/OpenSim.cs | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'OpenSim/Region/Application/OpenSim.cs') diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 37066c2..5aee06a 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -321,32 +321,32 @@ namespace OpenSim #region Console Commands - private void KickUserCommand(string module, string[] cmdparams) - { - if (cmdparams.Length < 4) - return; - - IList agents = m_sceneManager.GetCurrentSceneAvatars(); - - foreach (ScenePresence presence in agents) - { - RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); - - if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) && presence.Lastname.ToLower().Contains(cmdparams[3].ToLower())) - { - m_console.Notice( - String.Format( - "Kicking user: {0,-16}{1,-16}{2,-37} in region: {3,-16}", - presence.Firstname, - presence.Lastname, - presence.UUID, - regionInfo.RegionName)); - - presence.Scene.IncomingCloseAgent(presence.UUID); - } - } - m_console.Notice(""); - } + // private void KickUserCommand(string module, string[] cmdparams) + // { + // if (cmdparams.Length < 4) + // return; + + // IList agents = m_sceneManager.GetCurrentSceneAvatars(); + + // foreach (ScenePresence presence in agents) + // { + // RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); + + // if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) && presence.Lastname.ToLower().Contains(cmdparams[3].ToLower())) + // { + // m_console.Notice( + // String.Format( + // "Kicking user: {0,-16}{1,-16}{2,-37} in region: {3,-16}", + // presence.Firstname, + // presence.Lastname, + // presence.UUID, + // regionInfo.RegionName)); + + // presence.Scene.IncomingCloseAgent(presence.UUID); + // } + // } + // m_console.Notice(""); + // } /// /// Run an optional startup list of commands @@ -761,7 +761,7 @@ namespace OpenSim } // see BaseOpenSimServer - private void HandleShow(string mod, string[] cmd) + override public void HandleShow(string mod, string[] cmd) { List args = new List(cmd); args.RemoveAt(0); -- cgit v1.1