summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.c2
-rw-r--r--version.log6
2 files changed, 6 insertions, 2 deletions
diff --git a/init.c b/init.c
index 5a82eb610..be1be3663 100644
--- a/init.c
+++ b/init.c
@@ -431,7 +431,7 @@ static int parse_options(int ac, char **av)
} else if (!strcmp(s, "version")) {
fprintf(stdout, "Anope-%s %s -- %s\n", version_number,
version_flags, version_build);
- return 0;
+ exit(EXIT_SUCCESS);
} else {
fprintf(stderr, "Unknown option -%s\n", s);
return -1;
diff --git a/version.log b/version.log
index bfe40d6e3..402cc9c25 100644
--- a/version.log
+++ b/version.log
@@ -8,11 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="0"
-VERSION_BUILD="32"
+VERSION_BUILD="33"
VERSION_EXTRA=""
# $Log$
#
+# BUILD : 1.7.0 (33)
+# BUGS :
+# NOTES : Small bugfix to allow ./services -version to be done without anope running
+#
# BUILD : 1.7.0 (32)
# BUGS :
# NOTES : Added -version arguement to return anope version and build information