make all bots persist, regardless if public or not.. Partially fixes issue NEO-419

This commit is contained in:
Fish 2008-02-26 03:47:58 +00:00
parent e6ee918d2d
commit 3055cf8b24

View file

@ -388,11 +388,7 @@ static void BuildBot( dbbot *db )
strlcpy( db->botinfo.host, db->tsbot.bothost, MAXHOST );
strlcat( db->botinfo.realname, db->tsbot.dbname, MAXREALNAME );
db->botinfo.bot_setting_list = NULL;
db->botinfo.flags = 0;
if( db->tsbot.ispublic == 1 )
{
db->botinfo.flags = BOT_FLAG_PERSIST;
}
ts_read_database( db );
}