aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-02-29 03:00:56 +0000
committerJustin Clark-Casey (justincc)2012-02-29 03:00:56 +0000
commita181fae72276073d7b3cd9c15e1448a3fabbb8f9 (patch)
tree6693fecceef23cc43548d48fc82b8066d6aa175b /OpenSim/Tools/pCampBot
parentUse correct casing of RegionSettings.Sandbox in the various database modules. (diff)
downloadopensim-SC_OLD-a181fae72276073d7b3cd9c15e1448a3fabbb8f9.zip
opensim-SC_OLD-a181fae72276073d7b3cd9c15e1448a3fabbb8f9.tar.gz
opensim-SC_OLD-a181fae72276073d7b3cd9c15e1448a3fabbb8f9.tar.bz2
opensim-SC_OLD-a181fae72276073d7b3cd9c15e1448a3fabbb8f9.tar.xz
Don't start pCampbot if the user doesn't supply bot firstname, lastname stub and password
Diffstat (limited to 'OpenSim/Tools/pCampBot')
-rw-r--r--OpenSim/Tools/pCampBot/pCampBot.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs
index a73fcbe..ec5ad04 100644
--- a/OpenSim/Tools/pCampBot/pCampBot.cs
+++ b/OpenSim/Tools/pCampBot/pCampBot.cs
@@ -56,6 +56,10 @@ namespace pCampBot
56 { 56 {
57 Help(); 57 Help();
58 } 58 }
59 else if (config.Get("firstname") == null || config.Get("lastname") == null || config.Get("password") == null)
60 {
61 Console.WriteLine("ERROR: You must supply a firstname, lastname and password for the bots.");
62 }
59 else 63 else
60 { 64 {
61 int botcount = config.GetInt("botcount", 1); 65 int botcount = config.GetInt("botcount", 1);