summaryrefslogtreecommitdiff
path: root/src/modules/m_nokicks.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-25 20:35:51 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-25 20:35:51 +0000
commit8de87c2a9b5f5e68caac1ca06b1021ed69cb3d6a (patch)
tree976f90c27673acbfead92363c964ae69d7a2cb67 /src/modules/m_nokicks.cpp
parent31b232eec07d0b85ce2cc7c4ebc5d5387f781dcb (diff)
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
Diffstat (limited to 'src/modules/m_nokicks.cpp')
-rw-r--r--src/modules/m_nokicks.cpp5
1 files changed, 1 insertions, 4 deletions
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);
}
};