diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-01 14:59:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-01 14:59:38 +0000 |
commit | 4b0f6c610f755e0cb93843d5a2a6c70336eafe39 (patch) | |
tree | f0faea2448362629d3f82cb67d4f74242ec36dcf /src/modules.cpp | |
parent | abec4e1e7c76cb8fa1b324d9ca743e7d687a9b09 (diff) |
Now with binary versioning goodness
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 2b62ba382..6d6b39d87 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -27,8 +27,8 @@ #include "inspircd.h" // version is a simple class for holding a modules version number -Version::Version(int major, int minor, int revision, int build, int flags) -: Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) +Version::Version(int major, int minor, int revision, int build, int flags, int api_ver) +: Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags), API(api_ver) { } @@ -116,7 +116,7 @@ void Module::OnRehash(const std::string ¶meter) { } void Module::OnServerRaw(std::string &raw, bool inbound, userrec* user) { } int Module::OnUserPreJoin(userrec* user, chanrec* chan, const char* cname, std::string &privs) { return 0; } void Module::OnMode(userrec* user, void* dest, int target_type, const std::string &text) { }; -Version Module::GetVersion() { return Version(1,0,0,0,VF_VENDOR); } +Version Module::GetVersion() { return Version(1,0,0,0,VF_VENDOR,-1); } void Module::OnOper(userrec* user, const std::string &opertype) { }; void Module::OnPostOper(userrec* user, const std::string &opertype) { }; void Module::OnInfo(userrec* user) { }; |