diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 18:33:16 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 18:33:16 +0000 |
commit | 3e26f42a8f50905899fdd51c9bbf6d83c21a3321 (patch) | |
tree | 5b8d16bcfda604ae308ed61ff04fd8728bdc5150 /include/modules.h | |
parent | 7f88980dd2ea3c6a835cec42b96563e4c7828cdc (diff) |
Include VERSION/REVISION information in module version tag, so that we do no longer rely on $Id$
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11666 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index ce93f4b16..86f77d218 100644 --- a/include/modules.h +++ b/include/modules.h @@ -277,7 +277,7 @@ class CoreExport Version : public classbase public: /** Version information. */ - std::string version; + const std::string version; /** Flags and API version */ @@ -285,7 +285,8 @@ class CoreExport Version : public classbase /** Initialize version class */ - Version(const std::string &sversion, int flags, int api_ver); + Version(const std::string &customver, int flags, + int api_ver = API_VERSION, const std::string& src_rev = VERSION " r" REVISION); }; /** The ModuleMessage class is the base class of Request and Event |