my $txtfile = shift;
open(IN,$txtfile) or die "error: cannot open txtfile '$txtfile'.\n";
-# read the infobot config.
+# read the bot config file.
&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;
print "Done.\n";
&closeDB();
+
+# vim:ts=4:sw=4:expandtab:tw=80