From 64a98c736848de6099254f23483058668273c1a5 Mon Sep 17 00:00:00 2001 From: gareth Date: Mon, 14 May 2007 03:13:47 +0000 Subject: Finished off adding the new management API to gridserver Updated VersionInfo.cs finally Updated prebuild and rebuilt nant build files Completed Management agent basics --- ExportBot/Commands/DebugCommand.cs | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 ExportBot/Commands/DebugCommand.cs (limited to 'ExportBot/Commands/DebugCommand.cs') diff --git a/ExportBot/Commands/DebugCommand.cs b/ExportBot/Commands/DebugCommand.cs deleted file mode 100644 index fbfde7c..0000000 --- a/ExportBot/Commands/DebugCommand.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using System.Collections.Generic; -using libsecondlife; -using libsecondlife.Packets; - -namespace libsecondlife.TestClient -{ - public class DebugCommand : Command - { - public DebugCommand(TestClient testClient) - { - Name = "debug"; - Description = "Turn debug messages on or off. Usage: debug [on/off]"; - } - - public override string Execute(string[] args, LLUUID fromAgentID) - { - if (args.Length != 1) - return "Usage: debug [on/off]"; - - if (args[0].ToLower() == "on") - { - Client.Settings.DEBUG = true; - return "Debug logging is on"; - } - else if (args[0].ToLower() == "off") - { - Client.Settings.DEBUG = false; - return "Debug logging is off"; - } - else - { - return "Usage: debug [on/off]"; - } - } - } -} -- cgit v1.1