diff options
author | Adam <Adam@anope.org> | 2011-08-03 05:54:03 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-03 05:54:03 -0400 |
commit | 34da226bd9a46adb0a24bd4488da2bf9e2b2d955 (patch) | |
tree | 98d87cebf20a73105cfbbf19530692e7dcf24410 /modules/protocol/plexus.cpp | |
parent | 16280f4f7f8ff74735f0beda035ebdbde6e7f2cf (diff) |
Generate random SIDs for us if one is not specified
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r-- | modules/protocol/plexus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 8f1a74cf9..fbfb26d0a 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -662,7 +662,7 @@ class ProtoPlexus : 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) |