mirror of
https://github.com/anope/anope.git
synced 2026-06-27 22:56:38 +02:00
Generate random SIDs for us if one is not specified
This commit is contained in:
@@ -594,7 +594,7 @@ class ProtoRatbox : public Module
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
|
||||
if (Config->Numeric.empty())
|
||||
throw ModuleException("This IRCd protocol requires a server id to be set in Anope's configuration.");
|
||||
Config->Numeric = ts6_sid_retrieve();
|
||||
}
|
||||
|
||||
void OnServerSync(Server *s)
|
||||
|
||||
Reference in New Issue
Block a user