summaryrefslogtreecommitdiff
path: root/src/modules/m_setidle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setidle.cpp')
-rw-r--r--src/modules/m_setidle.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp
index dd8ad7560..6b8754311 100644
--- a/src/modules/m_setidle.cpp
+++ b/src/modules/m_setidle.cpp
@@ -21,13 +21,10 @@ using namespace std;
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "inspircd.h"
/* $ModDesc: Allows opers to set their idle time */
-
-
class cmd_setidle : public command_t
{
public:
@@ -74,9 +71,8 @@ class ModuleSetIdle : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1,VF_VENDOR);
+ return Version(1,0,0,1,VF_VENDOR,API_VERSION);
}
-
};
// stuff down here is the module-factory stuff. For basic modules you can ignore this.