From 3055cf8b24f555c9bcb03fc0f854dacfbfe45e96 Mon Sep 17 00:00:00 2001 From: Fish <> Date: Tue, 26 Feb 2008 03:47:58 +0000 Subject: [PATCH] make all bots persist, regardless if public or not.. Partially fixes issue NEO-419 --- modules/textserv/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/textserv/main.c b/modules/textserv/main.c index 954a9d52..d9a38260 100644 --- a/modules/textserv/main.c +++ b/modules/textserv/main.c @@ -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; - } + db->botinfo.flags = BOT_FLAG_PERSIST; ts_read_database( db ); }