aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-02-29 03:00:56 +0000
committerJustin Clark-Casey (justincc)2012-02-29 22:04:17 +0000
commit25c29db8b65d80de92fd0ee04a5717dd9c7e3fda (patch)
tree34c107c6bf4be46d8b3f70f1b1b08c999d42b0d2 /OpenSim/Tools
parentCall Dispose() via using() on SqliteCommands in WebStatsModule after use. (diff)
downloadopensim-SC_OLD-25c29db8b65d80de92fd0ee04a5717dd9c7e3fda.zip
opensim-SC_OLD-25c29db8b65d80de92fd0ee04a5717dd9c7e3fda.tar.gz
opensim-SC_OLD-25c29db8b65d80de92fd0ee04a5717dd9c7e3fda.tar.bz2
opensim-SC_OLD-25c29db8b65d80de92fd0ee04a5717dd9c7e3fda.tar.xz
Don't start pCampbot if the user doesn't supply bot firstname, lastname stub and password
Diffstat (limited to 'OpenSim/Tools')
-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);