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

Fixed a lot of small problems

This commit is contained in:
Adam
2011-02-25 21:40:43 -05:00
parent eea7d2eb77
commit ee38756982
26 changed files with 481 additions and 657 deletions
+1 -7
View File
@@ -27,12 +27,8 @@ void InitLogChannels(ServerConfig *config)
if (target[0] == '#')
{
Channel *c = findchan(target);
bool created = false;
if (!c)
{
c = new Channel(target);
created = true;
}
c->SetFlag(CH_LOGCHAN);
c->SetFlag(CH_PERSIST);
@@ -41,9 +37,7 @@ void InitLogChannels(ServerConfig *config)
BotInfo *bi = *it;
if (bi->HasFlag(BI_CORE) && !c->FindUser(bi))
{
bi->Join(c, created);
}
bi->Join(c, &config->BotModeList);
}
}
}