diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | config.c | 15 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 21 insertions, 1 deletions
@@ -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] @@ -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 |