diff options
| author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-21 20:55:20 +0000 |
|---|---|---|
| committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-21 20:55:20 +0000 |
| commit | bcf9852eecc1905632c284e4665c745173c9e9b7 (patch) | |
| tree | b745611dfd23f5b6c338ab856251b533beb8be72 /src/bots.cpp | |
| parent | a17d3dc27e3fb860568e170ee8d11dfb0aa22fc5 (diff) | |
Fixed bug #1095, do not resend client introduction when using /botserv bot add and initialized chancount in BotInfo constructor
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2460 5417fbe8-f217-4b02-8779-1006273d7864
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; |
