summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-06 17:50:59 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-06 17:50:59 +0000
commite2ccd93b0f1d2605fdc1800a2c96111d4a7ca139 (patch)
treef7dc848ac618490e59ebd5e4f16929b9d57b81e4
parentf9717e35cab505cfca95e708b53336bd7bf78f56 (diff)
Correctly ignore dummy argument to Version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11806 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 36a885ea9..ee18112a1 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -28,11 +28,9 @@
// version is a simple class for holding a modules version number
template<>
-VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags, int api_ver, const std::string& rev)
+VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags, int, const std::string& rev)
: description(modv), version(rev), Flags(flags)
{
- if (api_ver != API_VERSION)
- abort();
}
Request::Request(char* anydata, Module* src, Module* dst)