From 1b909065b0fc7789a4a33dce56219befa602b8ec Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 16 May 2012 12:34:23 -0500 Subject: mlock: fix style nitpicks --- src/modules/m_mlock.cpp | 6 +++--- 1 file 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() -- cgit v1.2.3