diff options
author | William Pitcock <nenolod@dereferenced.org> | 2012-05-16 12:34:23 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2012-05-16 12:34:23 -0500 |
commit | 1b909065b0fc7789a4a33dce56219befa602b8ec (patch) | |
tree | 5947723cb4149b6324234db87843411885cd8150 /src/modules | |
parent | e4f9a63ecda239f4c53762d102360007751bcaed (diff) |
mlock: fix style nitpicks
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_mlock.cpp | 6 |
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() |