From 1ee6c20e1e57c2b0e824b02ebdf773c278217d6c Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 20 Jun 2009 04:58:58 +0000 Subject: [PATCH] Initialize the Bot flags value inside of BS BOT, fixes problem with BotServ bots on database load, patch by DukePyrolator. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2328 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_bot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 9999b0c27..9b1fed9a6 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -118,6 +118,7 @@ class CommandBSBot : public Command bi->host = sstrdup(host); bi->real = sstrdup(real); bi->created = time(NULL); + bi->flags = 0; bi->chancount = 0; /* We check whether user with this nick is online, and kill it if so */