1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 09:43:13 +02:00

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
This commit is contained in:
cyberbotx
2009-06-20 04:58:58 +00:00
parent 157dfbd5c6
commit 1ee6c20e1e
+1
View File
@@ -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 */