1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 10:06:38 +02:00

Remove revision numbers as they're only ever set by Config reading git since we've switched off of SVN. Instead just use the hash for the current head when building. Also recheck the hash on every make not just Config.

This commit is contained in:
Adam
2012-02-15 00:06:25 -05:00
parent db59f1a70f
commit e1f5fc6a0c
9 changed files with 84 additions and 71 deletions
+3 -3
View File
@@ -84,7 +84,7 @@ void Module::SetAuthor(const Anope::string &nauthor)
this->author = nauthor;
}
ModuleVersion::ModuleVersion(int vMajor, int vMinor, int vBuild) : Major(vMajor), Minor(vMinor), Build(vBuild)
ModuleVersion::ModuleVersion(int vMajor, int vMinor, int vPatch) : Major(vMajor), Minor(vMinor), Patch(vPatch)
{
}
@@ -102,8 +102,8 @@ int ModuleVersion::GetMinor() const
return this->Minor;
}
int ModuleVersion::GetBuild() const
int ModuleVersion::GetPatch() const
{
return this->Build;
return this->Patch;
}