mirror of
https://github.com/anope/anope.git
synced 2026-07-03 11:33:12 +02:00
Use module type to determine what type each module is instead of its location in the configuration file.
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A
|
||||
{
|
||||
LogInfo *l = Config->LogInfos[i];
|
||||
|
||||
if (!ircd->join2msg && !l->Inhabit)
|
||||
if (ircd && !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