From f50ae8b4ca1a43d0bcafcfeb889b315c18708f7e Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 16 Jan 2008 21:42:42 +0000 Subject: 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 --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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; -- cgit v1.2.3