summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/u_listmode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h
index 5fa20fccd..379bcc342 100644
--- a/include/u_listmode.h
+++ b/include/u_listmode.h
@@ -241,7 +241,7 @@ class ListModeBase : public ModeHandler
virtual void DoImplements(Module* m)
{
Implementation eventlist[] = { I_OnChannelDelete, I_OnSyncChannel, I_OnCleanup, I_OnRehash };
- ServerInstance->Modules->Attach(eventlist, this, 4);
+ ServerInstance->Modules->Attach(eventlist, m, 4);
}
/** Handle the list mode.