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/listmode.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/listmode.cpp') diff --git a/src/listmode.cpp b/src/listmode.cpp index b7b1cbc51..fb76beab2 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -93,8 +93,6 @@ void ListModeBase::DoImplements(Module* m) { ServerInstance->Modules->AddService(extItem); this->DoRehash(); - Implementation eventlist[] = { I_OnSyncChannel, I_OnRehash }; - ServerInstance->Modules->Attach(eventlist, m, sizeof(eventlist)/sizeof(Implementation)); } unsigned int ListModeBase::FindLimit(const std::string& channame) -- cgit v1.3.1-10-gc9f91