summaryrefslogtreecommitdiff
path: root/src/modules/m_operlevels.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_operlevels.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_operlevels.cpp')
-rw-r--r--src/modules/m_operlevels.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 29b24354e..b062ae341 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -14,9 +14,6 @@
#include "inspircd.h"
/* $ModDesc: Gives each oper type a 'level', cannot kill opers 'above' your level. */
-
-
-
class ModuleOperLevels : public Module
{
private:
@@ -44,7 +41,7 @@ class ModuleOperLevels : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
virtual int OnKill(User* source, User* dest, const std::string &reason)