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:
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user