summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2012-05-16 12:34:23 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2012-05-16 12:34:23 -0500
commit1b909065b0fc7789a4a33dce56219befa602b8ec (patch)
tree5947723cb4149b6324234db87843411885cd8150 /src/modules
parente4f9a63ecda239f4c53762d102360007751bcaed (diff)
mlock: fix style nitpicks
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_mlock.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_mlock.cpp b/src/modules/m_mlock.cpp
index 9e3c596cc..17deb17bd 100644
--- a/src/modules/m_mlock.cpp
+++ b/src/modules/m_mlock.cpp
@@ -18,7 +18,8 @@
#include "inspircd.h"
-class ModuleMLock : public Module {
+class ModuleMLock : public Module
+{
private:
StringExtItem mlock;
@@ -27,8 +28,7 @@ public:
void init()
{
- Implementation eventlist[] = { I_OnPreMode };
- ServerInstance->Modules->Attach(eventlist, this, 1);
+ ServerInstance->Modules->Attach(I_OnPreMode, this);
}
Version GetVersion()