summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index db236c175..19fa6199a 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -20,6 +20,7 @@ BotInfo::BotInfo(const char *nnick)
nbots++;
this->cmdTable = NULL;
this->chancount = 0;
+ this->created = 0;
if (Config.s_ChanServ && !stricmp(Config.s_ChanServ, nnick))
this->SetFlag(BI_CHANSERV);
@@ -57,6 +58,7 @@ BotInfo::BotInfo(const char *nnick, const char *nuser, const char *nhost, const
nbots++;
this->cmdTable = NULL;
this->chancount = 0;
+ this->created = 0;
if (Config.s_ChanServ && !stricmp(Config.s_ChanServ, nnick))
this->SetFlag(BI_CHANSERV);