mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
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:
parent
b979bc4674
commit
f50ae8b4ca
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user