From 8de87c2a9b5f5e68caac1ca06b1021ed69cb3d6a Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 25 Aug 2008 20:35:51 +0000 Subject: Change module versions to use a string instead of fixed digits, and use propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_nokicks.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/modules/m_nokicks.cpp') diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp index df3a542a9..bb5db683c 100644 --- a/src/modules/m_nokicks.cpp +++ b/src/modules/m_nokicks.cpp @@ -23,15 +23,12 @@ class NoKicks : public SimpleChannelModeHandler class ModuleNoKicks : public Module { - NoKicks* nk; public: - ModuleNoKicks(InspIRCd* Me) : Module(Me) { - nk = new NoKicks(ServerInstance); if (!ServerInstance->Modes->AddMode(nk)) throw ModuleException("Could not add new modes!"); @@ -74,7 +71,7 @@ class ModuleNoKicks : public Module virtual Version GetVersion() { - return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION); + return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION); } }; -- cgit v1.2.3