1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 02:36:38 +02:00

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
This commit is contained in:
adam-
2009-08-21 20:55:20 +00:00
parent a17d3dc27e
commit bcf9852eec
2 changed files with 3 additions and 13 deletions
+2
View File
@@ -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;