summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)