- &openSQLDebug() if (&IsParam("SQLDebug"));
- &openDB($param{'DBName'}, $param{'SQLUser'}, $param{'SQLPass'});
-
- &status("Setup: ". &countKeys("factoids") ." factoids.");
- &News::readNews() if (&ChanConfList("news"));
+ &openSQLDebug() if ( &IsParam('SQLDebug') );
+ &sqlOpenDB(
+ $param{'DBName'}, $param{'DBType'},
+ $param{'SQLUser'}, $param{'SQLPass'}
+ );
+ &checkTables();
+
+ &status( 'Setup: ' . &countKeys('factoids') . ' factoids.' );
+ &getChanConfDefault( 'sendPrivateLimitLines', 3, $chan );
+ &getChanConfDefault( 'sendPrivateLimitBytes', 1000, $chan );
+ &getChanConfDefault( 'sendPublicLimitLines', 3, $chan );
+ &getChanConfDefault( 'sendPublicLimitBytes', 1000, $chan );
+ &getChanConfDefault( 'sendNoticeLimitLines', 3, $chan );
+ &getChanConfDefault( 'sendNoticeLimitBytes', 1000, $chan );