make all bots persist, regardless if public or not.. Partially fixes issue NEO-419
This commit is contained in:
parent
e6ee918d2d
commit
3055cf8b24
1 changed files with 1 additions and 5 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue