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 /src | |
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 'src')
-rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 2e3623b4a..f0ff37726 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -27,8 +27,8 @@ // version is a simple class for holding a modules version number -Version::Version(const std::string &sversion, int flags, int api_ver) -: version(sversion), Flags(flags), API(api_ver) +Version::Version(const std::string &modv, int flags, int api_ver, const std::string& rev) +: version(modv + " " + rev), Flags(flags), API(api_ver) { } |