]> git.donarmstrong.com Git - infobot.git/commitdiff
fixed due to changes. (re: Flugh)
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 6 Sep 2000 14:56:31 +0000 (14:56 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 6 Sep 2000 14:56:31 +0000 (14:56 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@72 c11ca15a-4712-0410-83d8-924469b57eb5

src/core.pl

index b95f06f0c2170f2b8f7003cf8143e9eaaae5dbc7..5f5d8138f1a75c0f8c323e5f829633667615504b 100644 (file)
@@ -147,7 +147,7 @@ sub setup {
     &loadUsers($bot_misc_dir.          "/blootbot.users");
 
     $shm = &openSHM();
-    &openDB();
+    &openDB($param{'DBName'}, $param{'SQLUser'}, $param{'SQLPass'});
 
     &status("Setup: ". &countKeys("factoids") ." factoids.");
 
@@ -155,6 +155,7 @@ sub setup {
 }
 
 sub setupConfig {
+    $param{'VERBOSITY'} = 1;
     &loadConfig($bot_misc_dir."/blootbot.config");
 
     foreach ("ircNick", "ircUser", "ircName", "DBType") {