From 87e2dd7c809de5f1e9a8be1113ab39d3f647b1ca Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 7 Feb 2008 04:53:42 +0000 Subject: Convert pCampBot to use log4net --- pCampBot/pCampBot.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'pCampBot/pCampBot.cs') diff --git a/pCampBot/pCampBot.cs b/pCampBot/pCampBot.cs index 983eaf0..704a3f5 100644 --- a/pCampBot/pCampBot.cs +++ b/pCampBot/pCampBot.cs @@ -35,7 +35,6 @@ using Nini.Config; using System.Threading; using OpenSim.Framework.Console; - namespace pCampBot { /// @@ -47,10 +46,9 @@ namespace pCampBot CONNECTED = 1, DISCONNECTED = 2 } + public class pCampBot { - - [STAThread] public static void Main(string[] args) { @@ -63,7 +61,6 @@ namespace pCampBot cs.AddSwitch("Startup", "lastname"); cs.AddSwitch("Startup", "password"); - IConfig ol = cs.Configs["Startup"]; int botcount = ol.GetInt("botcount", 1); BotManager bm = new BotManager(); @@ -72,9 +69,8 @@ namespace pCampBot bm.dobotStartup(botcount, ol); while (true) { - MainLog.Instance.MainLogPrompt(); + MainConsole.Instance.Prompt(); } - } } } -- cgit v1.1