summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 21:42:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 21:42:42 +0000
commitf50ae8b4ca1a43d0bcafcfeb889b315c18708f7e (patch)
tree2b7ea90983d0d7422bfaaec17fec13c7f638eb40 /src/configreader.cpp
parentb979bc46743bcb180af93f34b4bb337edce67b7d (diff)
Make the sid exception message more descriptive so a user knows what a valid SID is
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8722 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index d854edfaf..5d1c7f575 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -482,7 +482,7 @@ bool ValidateSID(ServerConfig* conf, const char*, const char*, ValueItem &data)
if (*sid && !conf->GetInstance()->IsSID(sid))
{
- throw CoreException(std::string(sid) + " is not a valid server ID.");
+ throw CoreException(std::string(sid) + " is not a valid server ID. A server ID must be 3 characters long, with the first character a digit and the next two characters a digit or letter.");
}
return true;