From 5c05313b6e979968d25a57d04da320a0c1be1b6c Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 25 Oct 2009 15:31:33 +0000 Subject: Fixes from vtable cross-check git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11977 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_hideoper.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/m_hideoper.cpp') diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp index 54207db55..80fee268f 100644 --- a/src/modules/m_hideoper.cpp +++ b/src/modules/m_hideoper.cpp @@ -55,11 +55,10 @@ class ModuleHideOper : public Module ModuleHideOper() : hm(this) { - if (!ServerInstance->Modes->AddMode(&hm)) throw ModuleException("Could not add new modes!"); - Implementation eventlist[] = { I_OnWhoisLine }; - ServerInstance->Modules->Attach(eventlist, this, 1); + Implementation eventlist[] = { I_OnWhoisLine, I_OnSendWhoLine }; + ServerInstance->Modules->Attach(eventlist, this, 2); } -- cgit v1.2.3