diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/init.c | 10 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 11 insertions, 6 deletions
@@ -3,6 +3,7 @@ Anope Version S V N Provided by Anope Dev. <dev@anope.org> - 2005 06/26 A New module pack module: hs_request. [ #00] 06/03 A Protocol files can now fill mod_current_buffer with custom code. [#389] +07/01 F Requesting a -version on startup doesn't require a valid config. [ #00] 06/04 F Register script now works again. [#394] 06/04 F Finishing sync for Ultimate3 was not done correctly. [#398] 06/03 F Moved checks for UseTokens, UseTS6, and Numeric. [#385] diff --git a/src/init.c b/src/init.c index 2171be697..f0212cc70 100644 --- a/src/init.c +++ b/src/init.c @@ -191,6 +191,10 @@ static int parse_dir_options(int ac, char **av) return -1; } log_filename = av[i]; + } else if (strcmp(s, "version") == 0) { + fprintf(stdout, "Anope-%s %s -- %s\n", version_number, + version_flags, version_build); + exit(EXIT_SUCCESS); } } } @@ -319,10 +323,6 @@ static int parse_options(int ac, char **av) forceload = 1; } else if (!strcmp(s, "noexpire")) { noexpire = 1; - } else if (!strcmp(s, "version")) { - fprintf(stdout, "Anope-%s %s -- %s\n", version_number, - version_flags, version_build); - exit(EXIT_SUCCESS); } else if (!strcmp(s, "help")) { fprintf(stdout, "Anope-%s %s -- %s\n", version_number, version_flags, version_build); @@ -413,7 +413,7 @@ int init_primary(int ac, char **av) if (set_group() < 0) return -1; - /* Parse command line for -dir option. */ + /* Parse command line for -dir and -version options. */ parse_dir_options(ac, av); /* Chdir to Services data directory. */ diff --git a/version.log b/version.log index a9e3aed07..c42a0d6c1 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="10" -VERSION_BUILD="836" +VERSION_BUILD="839" # $Log$ # +# BUILD : 1.7.10 (839) +# BUGS : +# NOTES : Removed the requirement of a valid config file when running ./services -version +# # BUILD : 1.7.10 (836) # BUGS : # NOTES : Added italian translations for all modpack modules |