X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Ftxt2mysql.pl;h=68b134d5985e9e056f8c7e2ef33f78cd26b5a900;hb=cb81fea9939f349b36e3b5a0cdc0343a6b781da1;hp=4c5236966ac43af691cedacdb3708f13dd0531f3;hpb=f0a00b56d1497c3b3f0d33e0d57e5d31a0161a55;p=infobot.git diff --git a/scripts/txt2mysql.pl b/scripts/txt2mysql.pl index 4c52369..68b134d 100755 --- a/scripts/txt2mysql.pl +++ b/scripts/txt2mysql.pl @@ -19,9 +19,9 @@ my $txtfile = shift; open(IN,$txtfile) or die "error: cannot open txtfile '$txtfile'.\n"; # read the bot config file. -&loadConfig("files/blootbot.config"); +&loadConfig("files/infobot.config"); &loadDBModules(); -&openDB(); +&openDB($param{'DBName'}, $param{'SQLUser'}, $param{'SQLPass'}); ### now pipe all the data to the mysql server... my $i = 1; @@ -55,3 +55,5 @@ close IN; print "Done.\n"; &closeDB(); + +# vim:ts=4:sw=4:expandtab:tw=80