diff options
author | Adam <Adam@anope.org> | 2012-02-15 00:06:25 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-15 00:06:25 -0500 |
commit | e1f5fc6a0c139eae035d20facb95914642cad50c (patch) | |
tree | 60a12e03999b2cbd1ec77dd5b5bf6aef6b0057b3 /include/modules.h | |
parent | db59f1a70f75d26a94df73492dc4aa462546f3d9 (diff) |
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.
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/modules.h b/include/modules.h index 722526382..1cb496a54 100644 --- a/include/modules.h +++ b/include/modules.h @@ -149,15 +149,15 @@ class ModuleVersion private: int Major; int Minor; - int Build; + int Patch; public: /** Constructor * @param vMajor The major version numbber * @param vMinor The minor version numbber - * @param vBuild The build version numbber + * @param vPatch The patch version numbber */ - ModuleVersion(int vMajor, int vMinor, int vBuild); + ModuleVersion(int vMajor, int vMinor, int vPatch); /** Destructor */ @@ -173,10 +173,10 @@ class ModuleVersion */ int GetMinor() const; - /** Get the build version this was built against - * @return The build version + /** Get the patch version this was built against + * @return The patch version */ - int GetBuild() const; + int GetPatch() const; }; @@ -1041,9 +1041,8 @@ class CoreExport ModuleManager * @param major The major version * @param minor The minor vesion * @param patch The patch version - * @param build The build version */ - static void RequireVersion(int major, int minor, int patch, int build); + static void RequireVersion(int major, int minor, int patch); /** Change the priority of one event in a module. * Each module event has a list of modules which are attached to that event type. If you wish to be called before or after other specific modules, you may use this |