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
This commit is contained in:
brain 2008-01-16 21:42:42 +00:00
parent b979bc4674
commit f50ae8b4ca

View File

@ -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;