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/ratbox.cpp | |
parent | 16280f4f7f8ff74735f0beda035ebdbde6e7f2cf (diff) |
Generate random SIDs for us if one is not specified
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r-- | modules/protocol/ratbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index 4c45dbcb6..51eb63457 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -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) |