summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2011-03-13 03:42:30 -0400
committerAdam <Adam@anope.org>2011-03-13 03:42:30 -0400
commit3fbf39b25d3ab95cab83baf198a24a7d6ad3689b (patch)
tree0b785f887b531ace1649ed019836b04954f3b460 /src/main.cpp
parent15a833283b0ec501f8c986b269b8360c6aa923f9 (diff)
Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/main.cpp b/src/main.cpp
index eea96dee9..c350f4323 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,7 +26,6 @@
#include "services.h"
#include "timers.h"
#include "modules.h"
-#include "version.h"
// getrlimit.
#ifndef _WIN32
@@ -552,16 +551,4 @@ int main(int ac, char **av, char **envp)
}
return 0;
-}
-
-Anope::string Anope::Version()
-{
- return stringify(VERSION_MAJOR) + "." + stringify(VERSION_MINOR) + "." + stringify(VERSION_PATCH) + VERSION_EXTRA + " (" + stringify(VERSION_BUILD) + ")";
-}
-
-Anope::string Anope::Build()
-{
- return "build #" + stringify(BUILD) + ", compiled " + Anope::compiled;
-}
-
-
+} \ No newline at end of file