From d24619c012b34d5a3d4cfb93e7bea3ff3d5721e7 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sun, 4 Aug 2013 14:36:14 +0200 Subject: Automatically attach modules to events --- src/modules/extra/m_ldapoper.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/modules/extra/m_ldapoper.cpp') diff --git a/src/modules/extra/m_ldapoper.cpp b/src/modules/extra/m_ldapoper.cpp index 68e4cbf9f..af7b48d07 100644 --- a/src/modules/extra/m_ldapoper.cpp +++ b/src/modules/extra/m_ldapoper.cpp @@ -99,8 +99,6 @@ public: void init() CXX11_OVERRIDE { - Implementation eventlist[] = { I_OnRehash, I_OnPreCommand }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); OnRehash(NULL); } -- cgit v1.2.3