summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-03 05:54:03 -0400
committerAdam <Adam@anope.org>2011-08-03 05:54:03 -0400
commit34da226bd9a46adb0a24bd4488da2bf9e2b2d955 (patch)
tree98d87cebf20a73105cfbbf19530692e7dcf24410 /modules/protocol/plexus.cpp
parent16280f4f7f8ff74735f0beda035ebdbde6e7f2cf (diff)
Generate random SIDs for us if one is not specified
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp2
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)