summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-16 17:51:14 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-16 17:51:14 +0000
commita1c569ad4b5806eb86239576107d60522cadc82e (patch)
tree9ab7cb6abaef415973d5ceabd2f6a6d9ef659df1
parent631b4f1cb77512182d1a4b9901d34063cacb9f2a (diff)
BUILD : 1.7.3 (197) BUGS : none NOTES : More verbose error messages for services.conf checking.
git-svn-id: svn://svn.anope.org/anope/trunk@197 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@139 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--config.c15
-rw-r--r--version.log6
3 files changed, 21 insertions, 1 deletions
diff --git a/Changes b/Changes
index a471e7c24..019eba237 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,7 @@ Anope Version S V N
-------------------
Provided by Anope Dev. <dev@anope.org> - 2004
06/16 F Module support for OpenBSD systems [#106]
+06/16 A More verbose error messages for services.conf checking. [ #00]
06/10 A User customizable pseudo-client modes. [ #99]
06/10 A Improved handling of /NS INFO for pseudo-clients. [ #98]
06/07 A Added register script in /bin/ for users to register anope. [ #00]
diff --git a/config.c b/config.c
index c52179d9c..b74406c4b 100644
--- a/config.c
+++ b/config.c
@@ -1029,6 +1029,16 @@ int read_config(int reload)
NSDefFlags |= NI_MEMO_RECEIVE;
}
+ if (!ServicesRoot) {
+ error(0,
+ "You must define the 'ServicesRoot' configuration directive");
+ error(0,
+ "in your services.conf file. This is a required setting that");
+ error(0,
+ "defines the main Administrative nick(s) Anope will obey.");
+ retval = 0;
+ }
+
CHECK(NSGuestNickPrefix); /* Add safety check */
if (NSGuestNickPrefix && (strlen(NSGuestNickPrefix) > 21)) {
error(0, "Value of NSGuestNickPrefix must be between 1 and 21");
@@ -1292,6 +1302,11 @@ int read_config(int reload)
}
}
+ if (!retval) {
+ printf
+ ("\n*** Support resources: Read through the services.conf self-contained \n*** documentation. Read the documentation files found in the 'docs' \n*** folder. Visit our portal located at http://www.anope.org/. Join \n*** our support channel on /server irc.anope.org channel #anope.\n\n");
+ }
+
return retval;
}
diff --git a/version.log b/version.log
index d19a70d10..fb6171a06 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="3"
-VERSION_BUILD="196"
+VERSION_BUILD="197"
# $Log$
#
+# BUILD : 1.7.3 (197)
+# BUGS : none
+# NOTES : More verbose error messages for services.conf checking.
+#
# BUILD : 1.7.3 (196)
# BUGS : 106
# NOTES : Fixed module support for OpenBSD systems