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

Set the botmodes on bots in the log channel(s) when using ircds that have dynamic modes

This commit is contained in:
Adam
2010-10-02 15:20:13 -04:00
parent 59f35732f6
commit 8a0cf62d70
2 changed files with 25 additions and 1 deletions
+2 -1
View File
@@ -169,7 +169,7 @@ void BotInfo::Join(Channel *c, bool update_ts)
c->JoinUser(this);
ChannelContainer *cc = this->FindChannel(c);
for (int i = 0; i < Config->BotModeList.size(); ++i)
for (unsigned i = 0; i < Config->BotModeList.size(); ++i)
{
if (!update_ts)
{
@@ -183,6 +183,7 @@ void BotInfo::Join(Channel *c, bool update_ts)
}
if (!update_ts)
ircdproto->SendJoin(this, c->name, c->creation_time);
/* This is sent later, when we burst to the uplink */
else if (Me && Me->IsSynced())
{
ircdproto->SendJoin(this, cc);