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/commands/cmd_lusers.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/commands/cmd_lusers.cpp') diff --git a/src/commands/cmd_lusers.cpp b/src/commands/cmd_lusers.cpp index c1f35592a..ef35d1e19 100644 --- a/src/commands/cmd_lusers.cpp +++ b/src/commands/cmd_lusers.cpp @@ -157,8 +157,6 @@ class ModuleLusers : public Module void init() { ServerInstance->Modules->AddService(cmd); - Implementation events[] = { I_OnPostConnect, I_OnUserQuit }; - ServerInstance->Modules->Attach(events, this, sizeof(events)/sizeof(Implementation)); ServerInstance->Modes->AddModeWatcher(&mw); } -- cgit v1.3.1-10-gc9f91