diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | init.c | 4 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 10 insertions, 1 deletions
@@ -1,6 +1,7 @@ Anope Version 1.7.0 -------------------- Provided by Anope Dev. <dev@anope.org> +2004/04/04 Added -version argument to return version and build info 2004/04/04 Fixed moduleAddCommand for a non-existant service 2004/04/01 Added memo2mail and /msg memoserv set notify MAIL/NOMAIL. 2004/03/31 Fixed MySQL double encryption if using MD5. @@ -428,6 +428,10 @@ static int parse_options(int ac, char **av) } else if (!strcmp(s, "is44")) { is44 = 1; #endif + } else if (!strcmp(s, "version")) { + fprintf(stdout, "Anope-%s %s -- %s\n", version_number, + version_flags, version_build); + return 0; } else { fprintf(stderr, "Unknown option -%s\n", s); return -1; diff --git a/version.log b/version.log index b6d7ca4d2..bfe40d6e3 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="0" -VERSION_BUILD="30" +VERSION_BUILD="32" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.0 (32) +# BUGS : +# NOTES : Added -version arguement to return anope version and build information +# # BUILD : 1.7.0 (30) # BUGS : http://bugs.anope.org/show_bug.cgi?id=3 # NOTES : Fixed moduleAddCommand for a non-existant service, now returns MOD_ERR_NOSERVICE, updated hs_moo to deal with it nicely |