diff options
Diffstat (limited to 'src/bots.cpp')
| -rw-r--r-- | src/bots.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index cef77ec9d..2dbaa8b83 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -21,6 +21,7 @@ BotInfo::BotInfo(const char *nnick) nbots++; this->cmdTable = NULL; this->flags = 0; + this->chancount = 0; if (s_ChanServ && !stricmp(s_ChanServ, nnick)) this->flags |= BI_CHANSERV; @@ -55,6 +56,7 @@ BotInfo::BotInfo(const char *nnick, const char *nuser, const char *nhost, const nbots++; this->cmdTable = NULL; this->flags = 0; + this->chancount = 0; if (s_ChanServ && !stricmp(s_ChanServ, nnick)) this->flags |= BI_CHANSERV; |
