mirror of
https://github.com/anope/anope.git
synced 2026-06-28 13:56:39 +02:00
Fixed generating sid on startup
This commit is contained in:
@@ -403,6 +403,12 @@ void Init(int ac, char **av)
|
||||
else if (ModuleManager::FindFirstOf(ENCRYPTION) == NULL)
|
||||
throw FatalException("You must load at least one encryption module");
|
||||
|
||||
if (ircd->ts6 && 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();
|
||||
|
||||
Reference in New Issue
Block a user