mirror of
https://github.com/anope/anope.git
synced 2026-06-28 10:06:37 +02:00
Clean up some of the old now unused IRCDVar struct vars, and made the logchan bots join if the IRCd requires them to
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ void InitLogChannels(ServerConfig *config)
|
||||
{
|
||||
LogInfo *l = config->LogInfos[i];
|
||||
|
||||
if (!l->Inhabit)
|
||||
if (!ircd->join2msg && !l->Inhabit)
|
||||
continue;
|
||||
|
||||
for (std::list<Anope::string>::const_iterator sit = l->Targets.begin(), sit_end = l->Targets.end(); sit != sit_end; ++sit)
|
||||
|
||||
Reference in New Issue
Block a user