diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 14:16:16 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 14:16:16 +0000 |
commit | 2d043de488ea65807b51b35a4436bbbf570ca29c (patch) | |
tree | f07129f223918ecfbc38ec331b99b551a12a6ce6 /src/modules/m_gecosban.cpp | |
parent | d1ddbd62f91d4b9453447b5d25f5e41e807b0010 (diff) |
removes unnecessary checks in modules, removes a superfluous else statement, fixes some formatting. Patch by dKingston.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11867 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_gecosban.cpp')
-rw-r--r-- | src/modules/m_gecosban.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_gecosban.cpp index 9d1550b38..42830c660 100644 --- a/src/modules/m_gecosban.cpp +++ b/src/modules/m_gecosban.cpp @@ -17,9 +17,9 @@ class ModuleGecosBan : public Module { - private: public: - ModuleGecosBan() { + ModuleGecosBan() + { Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 2); } @@ -49,6 +49,4 @@ class ModuleGecosBan : public Module } }; - MODULE_INIT(ModuleGecosBan) - |