summaryrefslogtreecommitdiff
path: root/src/modules/m_nokicks.cpp
diff options
context:
space:
mode:
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);
}
};