mirror of
https://github.com/anope/anope.git
synced 2026-06-26 10:16:40 +02:00
Updated docs/IRCD to reflect recent changes in the ircdvar struct, and made botinfo constructors set created time not bs_bot, db loaders will change it later if needed
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2702 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-4
@@ -15,12 +15,11 @@
|
||||
BotInfo::BotInfo(const char *nnick)
|
||||
{
|
||||
this->nick = sstrdup(nnick);
|
||||
this->lastmsg = time(NULL);
|
||||
this->lastmsg = this->created = time(NULL);
|
||||
this->uid = ts6_uid_retrieve(); // XXX is this safe? has ts6 been setup yet?
|
||||
nbots++;
|
||||
this->cmdTable = NULL;
|
||||
this->chancount = 0;
|
||||
this->created = 0;
|
||||
|
||||
if (Config.s_ChanServ && !stricmp(Config.s_ChanServ, nnick))
|
||||
this->SetFlag(BI_CHANSERV);
|
||||
@@ -53,12 +52,11 @@ BotInfo::BotInfo(const char *nnick, const char *nuser, const char *nhost, const
|
||||
this->user = sstrdup(nuser);
|
||||
this->host = sstrdup(nhost);
|
||||
this->real = sstrdup(nreal);
|
||||
this->lastmsg = time(NULL);
|
||||
this->lastmsg = this->created = time(NULL);
|
||||
this->uid = ts6_uid_retrieve(); // XXX is this safe? has ts6 been setup yet?
|
||||
nbots++;
|
||||
this->cmdTable = NULL;
|
||||
this->chancount = 0;
|
||||
this->created = 0;
|
||||
|
||||
if (Config.s_ChanServ && !stricmp(Config.s_ChanServ, nnick))
|
||||
this->SetFlag(BI_CHANSERV);
|
||||
|
||||
Reference in New Issue
Block a user