mirror of
https://github.com/anope/anope.git
synced 2026-06-28 11:06:37 +02:00
Reorder some stuff in Init & the ts6 proto mods to fix weirdness from bots being introduced by 3rd party modules
This commit is contained in:
@@ -673,6 +673,16 @@ class ProtoPlexus : public Module
|
||||
|
||||
Implementation i[] = { I_OnServerSync };
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
|
||||
if (Config->Numeric.empty())
|
||||
{
|
||||
Anope::string numeric = ts6_sid_retrieve();
|
||||
Me->SetSID(numeric);
|
||||
Config->Numeric = numeric;
|
||||
}
|
||||
|
||||
for (botinfo_map::iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it)
|
||||
it->second->GenerateUID();
|
||||
}
|
||||
|
||||
~ProtoPlexus()
|
||||
|
||||
Reference in New Issue
Block a user