]> git.donarmstrong.com Git - infobot.git/blobdiff - scripts/txt2mysql.pl
- someone contacted me. looked at this script and it was broken. now
[infobot.git] / scripts / txt2mysql.pl
index 4c5236966ac43af691cedacdb3708f13dd0531f3..47a70b7437c0b24d18a4a3ad0da0a953bab60442 100755 (executable)
@@ -21,7 +21,7 @@ open(IN,$txtfile) or die "error: cannot open txtfile '$txtfile'.\n";
 # read the bot config file.
 &loadConfig("files/blootbot.config");
 &loadDBModules();
-&openDB();
+&openDB($param{'DBName'}, $param{'SQLUser'}, $param{'SQLPass'});
 
 ### now pipe all the data to the mysql server...
 my $i = 1;