diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-20 04:58:58 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-20 04:58:58 +0000 |
commit | 1ee6c20e1e57c2b0e824b02ebdf773c278217d6c (patch) | |
tree | 7b9045ba9b6204654d973ad56bdf46bb74b9d03f | |
parent | 157dfbd5c6450c509fa02c6807def1ac9aceba07 (diff) |
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
-rw-r--r-- | src/core/bs_bot.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |