From e2ccd93b0f1d2605fdc1800a2c96111d4a7ca139 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 6 Oct 2009 17:50:59 +0000 Subject: Correctly ignore dummy argument to Version git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11806 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 4 +--- 1 file changed, 1 insertion(+), 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::VersionBase(const std::string &modv, int flags, int api_ver, const std::string& rev) +VersionBase::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) -- cgit v1.2.3