summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/bs_autoassign.cpp1
-rw-r--r--modules/commands/bs_assign.cpp2
-rw-r--r--modules/commands/bs_kick.cpp2
-rw-r--r--modules/commands/bs_set.cpp1
-rw-r--r--modules/commands/cs_access.cpp1
-rw-r--r--modules/commands/cs_akick.cpp1
-rw-r--r--modules/commands/cs_entrymsg.cpp1
-rw-r--r--modules/commands/cs_list.cpp1
-rw-r--r--modules/commands/cs_log.cpp2
-rw-r--r--modules/commands/cs_mode.cpp3
-rw-r--r--modules/commands/cs_seen.cpp7
-rw-r--r--modules/commands/cs_set.cpp12
-rw-r--r--modules/commands/cs_set_misc.cpp1
-rw-r--r--modules/commands/cs_suspend.cpp4
-rw-r--r--modules/commands/cs_topic.cpp3
-rw-r--r--modules/commands/greet.cpp3
-rw-r--r--modules/commands/hs_group.cpp2
-rw-r--r--modules/commands/ns_access.cpp1
-rw-r--r--modules/commands/ns_ajoin.cpp1
-rw-r--r--modules/commands/ns_cert.cpp2
-rw-r--r--modules/commands/ns_list.cpp1
-rw-r--r--modules/commands/ns_recover.cpp2
-rw-r--r--modules/commands/ns_register.cpp2
-rw-r--r--modules/commands/ns_resetpass.cpp1
-rw-r--r--modules/commands/ns_set.cpp7
-rw-r--r--modules/commands/ns_set_misc.cpp1
-rw-r--r--modules/commands/ns_suspend.cpp3
-rw-r--r--modules/commands/os_defcon.cpp6
-rw-r--r--modules/commands/os_dns.cpp5
-rw-r--r--modules/commands/os_forbid.cpp4
-rw-r--r--modules/commands/os_ignore.cpp1
-rw-r--r--modules/commands/os_info.cpp2
-rw-r--r--modules/commands/os_login.cpp1
-rw-r--r--modules/commands/os_news.cpp2
-rw-r--r--modules/commands/os_noop.cpp1
-rw-r--r--modules/cs_statusupdate.cpp2
-rw-r--r--modules/database/db_flatfile.cpp2
-rw-r--r--modules/database/db_old.cpp2
-rw-r--r--modules/database/db_redis.cpp2
-rw-r--r--modules/database/db_sql.cpp1
-rw-r--r--modules/encryption/enc_bcrypt.cpp2
-rw-r--r--modules/encryption/enc_md5.cpp2
-rw-r--r--modules/encryption/enc_none.cpp3
-rw-r--r--modules/encryption/enc_old.cpp2
-rw-r--r--modules/encryption/enc_sha1.cpp2
-rw-r--r--modules/encryption/enc_sha256.cpp2
-rw-r--r--modules/extra/m_ldap.cpp1
-rw-r--r--modules/extra/m_ldap_oper.cpp2
-rw-r--r--modules/extra/m_mysql.cpp1
-rw-r--r--modules/extra/m_sql_authentication.cpp2
-rw-r--r--modules/extra/m_sql_log.cpp1
-rw-r--r--modules/extra/m_ssl_gnutls.cpp1
-rw-r--r--modules/extra/m_ssl_openssl.cpp1
-rw-r--r--modules/fantasy.cpp2
-rw-r--r--modules/m_dns.cpp1
-rw-r--r--modules/m_dnsbl.cpp1
-rw-r--r--modules/m_helpchan.cpp1
-rw-r--r--modules/m_httpd.cpp1
-rw-r--r--modules/m_proxyscan.cpp1
-rw-r--r--modules/m_redis.cpp1
-rw-r--r--modules/ns_maxemail.cpp1
-rw-r--r--modules/protocol/bahamut.cpp1
-rw-r--r--modules/protocol/charybdis.cpp2
-rw-r--r--modules/protocol/hybrid.cpp1
-rw-r--r--modules/protocol/inspircd20.cpp7
-rw-r--r--modules/protocol/ngircd.cpp1
-rw-r--r--modules/pseudoclients/botserv/botserv.cpp9
-rw-r--r--modules/pseudoclients/chanserv/chanserv.cpp19
-rw-r--r--modules/pseudoclients/global.cpp4
-rw-r--r--modules/pseudoclients/hostserv.cpp5
-rw-r--r--modules/pseudoclients/memoserv/memoserv.cpp8
-rw-r--r--modules/pseudoclients/nickserv/nickserv.cpp20
-rw-r--r--modules/pseudoclients/operserv.cpp9
73 files changed, 0 insertions, 216 deletions
diff --git a/modules/bs_autoassign.cpp b/modules/bs_autoassign.cpp
index 911ba2c76..8978499ed 100644
--- a/modules/bs_autoassign.cpp
+++ b/modules/bs_autoassign.cpp
@@ -14,7 +14,6 @@ class BSAutoAssign : public Module
{
public:
BSAutoAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChanRegistered>()
{
}
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp
index 350aa9c00..4312a9254 100644
--- a/modules/commands/bs_assign.cpp
+++ b/modules/commands/bs_assign.cpp
@@ -227,8 +227,6 @@ class BSAssign : public Module
public:
BSAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::Invite>()
- , EventHook<Event::ServiceBotEvent>()
, nobot(this, botinfo, "BS_NOBOT")
diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp
index e7b4738cd..70ed5b2ad 100644
--- a/modules/commands/bs_kick.cpp
+++ b/modules/commands/bs_kick.cpp
@@ -1279,8 +1279,6 @@ class BSKick : public Module
public:
BSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ServiceBotEvent>()
- , EventHook<Event::Privmsg>()
, bandata(this, "bandata")
, userdata(this, "userdata")
diff --git a/modules/commands/bs_set.cpp b/modules/commands/bs_set.cpp
index 58015ba01..2abea91b2 100644
--- a/modules/commands/bs_set.cpp
+++ b/modules/commands/bs_set.cpp
@@ -194,7 +194,6 @@ class BSSet : public Module
public:
BSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::BotBan>()
, commandbsset(this)
, commandbssetbanexpire(this)
, commandbssetprivate(this)
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index 7e9c47993..ae4a291a0 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -891,7 +891,6 @@ class CSAccess : public Module
public:
CSAccess(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::GroupCheckPriv>()
, commandcsaccess(this)
, commandcslevels(this, onlevelchange)
, onlevelchange(this)
diff --git a/modules/commands/cs_akick.cpp b/modules/commands/cs_akick.cpp
index e18ead579..08da7537f 100644
--- a/modules/commands/cs_akick.cpp
+++ b/modules/commands/cs_akick.cpp
@@ -668,7 +668,6 @@ class CSAKick : public Module
public:
CSAKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::CheckKick>()
, commandcsakick(this, akickevents)
, akickevents(this)
, akick_type(this)
diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp
index 51654ea84..4a646b3b3 100644
--- a/modules/commands/cs_entrymsg.cpp
+++ b/modules/commands/cs_entrymsg.cpp
@@ -254,7 +254,6 @@ class CSEntryMessage : public Module
public:
CSEntryMessage(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::JoinChannel>()
, commandentrymsg(this)
, entrymsg_type(this)
{
diff --git a/modules/commands/cs_list.cpp b/modules/commands/cs_list.cpp
index e3efaa547..5a4c58bff 100644
--- a/modules/commands/cs_list.cpp
+++ b/modules/commands/cs_list.cpp
@@ -244,7 +244,6 @@ class CSList : public Module
public:
CSList(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChanInfo>()
, commandcslist(this)
, commandcssetprivate(this)
, priv(this, "CS_PRIVATE")
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp
index f8624ce76..6a90115f5 100644
--- a/modules/commands/cs_log.cpp
+++ b/modules/commands/cs_log.cpp
@@ -345,8 +345,6 @@ class CSLog : public Module
public:
CSLog(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChanRegistered>()
- , EventHook<Event::Log>()
, commandcslog(this)
, logtype(this)
{
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp
index b525f51a5..d0dea2625 100644
--- a/modules/commands/cs_mode.cpp
+++ b/modules/commands/cs_mode.cpp
@@ -861,9 +861,6 @@ class CSMode : public Module
public:
CSMode(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::CheckModes>()
- , EventHook<Event::ChanRegistered>()
- , EventHook<Event::ChanInfo>()
, commandcsmode(this)
, commandcsmodes(this)
, modelock(this)
diff --git a/modules/commands/cs_seen.cpp b/modules/commands/cs_seen.cpp
index 0474b8e26..b46b2efc5 100644
--- a/modules/commands/cs_seen.cpp
+++ b/modules/commands/cs_seen.cpp
@@ -378,13 +378,6 @@ class CSSeen : public Module
public:
CSSeen(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ExpireTick>()
- , EventHook<Event::UserConnect>()
- , EventHook<Event::UserNickChange>()
- , EventHook<Event::UserQuit>()
- , EventHook<Event::JoinChannel>()
- , EventHook<Event::PartChannel>()
- , EventHook<Event::PreUserKicked>()
// , seeninfo_type("SeenInfo", SeenInfo::Unserialize)
, commandseen(this)
, commandosseen(this)
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 9cf58c029..2f0e2dd4f 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -1101,18 +1101,6 @@ class CSSet : public Module
public:
CSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::CreateChan>()
- , EventHook<Event::ChannelCreate>()
- , EventHook<Event::ChannelSync>()
- , EventHook<Event::CheckKick>()
- , EventHook<Event::DelChan>()
- , EventHook<Event::ChannelModeSet>()
- , EventHook<Event::ChannelModeUnset>()
- , EventHook<Event::CheckDelete>()
- , EventHook<Event::JoinChannel>()
- , EventHook<Event::SetCorrectModes>()
- , EventHook<ChanServ::Event::PreChanExpire>()
- , EventHook<Event::ChanInfo>()
, noautoop(this, ChanServ::channel, "NOAUTOOP")
, peace(this, ChanServ::channel, "PEACE")
diff --git a/modules/commands/cs_set_misc.cpp b/modules/commands/cs_set_misc.cpp
index 51cf44b79..7af347087 100644
--- a/modules/commands/cs_set_misc.cpp
+++ b/modules/commands/cs_set_misc.cpp
@@ -175,7 +175,6 @@ class CSSetMisc : public Module
public:
CSSetMisc(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChanInfo>()
, commandcssetmisc(this)
, type(this)
{
diff --git a/modules/commands/cs_suspend.cpp b/modules/commands/cs_suspend.cpp
index 6fd234014..58b4617f0 100644
--- a/modules/commands/cs_suspend.cpp
+++ b/modules/commands/cs_suspend.cpp
@@ -268,10 +268,6 @@ class CSSuspend : public Module
public:
CSSuspend(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChanInfo>()
- , EventHook<ChanServ::Event::PreChanExpire>()
- , EventHook<Event::CheckKick>()
- , EventHook<Event::ChanDrop>()
, commandcssuspend(this, onchansuspend)
, commandcsunsuspend(this, onchanunsuspend)
, onchansuspend(this)
diff --git a/modules/commands/cs_topic.cpp b/modules/commands/cs_topic.cpp
index 5fd40bdf0..49a5a0043 100644
--- a/modules/commands/cs_topic.cpp
+++ b/modules/commands/cs_topic.cpp
@@ -211,9 +211,6 @@ class CSTopic : public Module
public:
CSTopic(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChannelSync>()
- , EventHook<Event::TopicUpdated>()
- , EventHook<Event::ChanInfo>()
, commandcstopic(this)
, commandcssetkeeptopic(this)
, topiclock(this, "TOPICLOCK")
diff --git a/modules/commands/greet.cpp b/modules/commands/greet.cpp
index 9134876cc..ebc8c1612 100644
--- a/modules/commands/greet.cpp
+++ b/modules/commands/greet.cpp
@@ -170,9 +170,6 @@ class Greet : public Module
public:
Greet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::JoinChannel>()
- , EventHook<Event::NickInfo>()
- , EventHook<Event::ServiceBotEvent>()
, bs_greet(this, ChanServ::channel, "BS_GREET")
, ns_greet(this, NickServ::account, "greet")
, commandbssetgreet(this)
diff --git a/modules/commands/hs_group.cpp b/modules/commands/hs_group.cpp
index 5635b8ce6..8a7a208a6 100644
--- a/modules/commands/hs_group.cpp
+++ b/modules/commands/hs_group.cpp
@@ -84,8 +84,6 @@ class HSGroup : public Module
public:
HSGroup(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::SetVhost>()
- , EventHook<Event::NickGroup>()
, commandhsgroup(this)
{
}
diff --git a/modules/commands/ns_access.cpp b/modules/commands/ns_access.cpp
index 7b727452a..ba2116ac9 100644
--- a/modules/commands/ns_access.cpp
+++ b/modules/commands/ns_access.cpp
@@ -236,7 +236,6 @@ class NSAccess : public Module
public:
NSAccess(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<NickServ::Event::NickRegister>()
, commandnsaccess(this)
, nick_type(this)
{
diff --git a/modules/commands/ns_ajoin.cpp b/modules/commands/ns_ajoin.cpp
index 7aca41b3e..135beb403 100644
--- a/modules/commands/ns_ajoin.cpp
+++ b/modules/commands/ns_ajoin.cpp
@@ -282,7 +282,6 @@ class NSAJoin : public Module
public:
NSAJoin(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::UserLogin>()
, commandnsajoin(this)
, ajtype(this)
{
diff --git a/modules/commands/ns_cert.cpp b/modules/commands/ns_cert.cpp
index a241f9c97..fc87f8cb0 100644
--- a/modules/commands/ns_cert.cpp
+++ b/modules/commands/ns_cert.cpp
@@ -313,8 +313,6 @@ class NSCert : public Module
public:
NSCert(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::Fingerprint>()
- , EventHook<NickServ::Event::NickValidate>()
, commandnscert(this)
, cs(this)
, onnickservevents(this)
diff --git a/modules/commands/ns_list.cpp b/modules/commands/ns_list.cpp
index 3307f6fed..2820326d2 100644
--- a/modules/commands/ns_list.cpp
+++ b/modules/commands/ns_list.cpp
@@ -270,7 +270,6 @@ class NSList : public Module
public:
NSList(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::NickInfo>()
, commandnslist(this)
, commandnssetprivate(this)
, commandnssasetprivate(this)
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp
index 21d11124f..64daabf1c 100644
--- a/modules/commands/ns_recover.cpp
+++ b/modules/commands/ns_recover.cpp
@@ -202,8 +202,6 @@ class NSRecover : public Module
public:
NSRecover(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::UserNickChange>()
- , EventHook<Event::JoinChannel>()
, commandnsrecover(this)
, recover(this, "recover")
{
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp
index b13a945a6..8feb979be 100644
--- a/modules/commands/ns_register.cpp
+++ b/modules/commands/ns_register.cpp
@@ -350,8 +350,6 @@ class NSRegister : public Module
public:
NSRegister(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::NickIdentify>()
- , EventHook<NickServ::Event::PreNickExpire>()
, commandnsregister(this)
, commandnsconfirm(this)
, commandnsrsend(this)
diff --git a/modules/commands/ns_resetpass.cpp b/modules/commands/ns_resetpass.cpp
index 2680c9b42..3be5a4c06 100644
--- a/modules/commands/ns_resetpass.cpp
+++ b/modules/commands/ns_resetpass.cpp
@@ -67,7 +67,6 @@ class NSResetPass : public Module
public:
NSResetPass(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::PreCommand>()
, commandnsresetpass(this), reset(this, "reset")
{
if (!Config->GetBlock("mail")->Get<bool>("usemail"))
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp
index b04687b7b..b130ba1fa 100644
--- a/modules/commands/ns_set.cpp
+++ b/modules/commands/ns_set.cpp
@@ -1107,13 +1107,6 @@ class NSSet : public Module
public:
NSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::PreCommand>()
- , EventHook<Event::SetCorrectModes>()
- , EventHook<NickServ::Event::PreNickExpire>()
- , EventHook<Event::NickInfo>()
- , EventHook<Event::UserModeSet>()
- , EventHook<Event::UserModeUnset>()
- , EventHook<Event::UserLogin>()
, commandnsset(this)
, commandnssaset(this)
, commandnssetautoop(this)
diff --git a/modules/commands/ns_set_misc.cpp b/modules/commands/ns_set_misc.cpp
index eb94c0f13..5d03797b1 100644
--- a/modules/commands/ns_set_misc.cpp
+++ b/modules/commands/ns_set_misc.cpp
@@ -186,7 +186,6 @@ class NSSetMisc : public Module
public:
NSSetMisc(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::NickInfo>()
, commandnssetmisc(this)
, commandnssasetmisc(this)
, type(this)
diff --git a/modules/commands/ns_suspend.cpp b/modules/commands/ns_suspend.cpp
index 9019b5f7d..83b2e9119 100644
--- a/modules/commands/ns_suspend.cpp
+++ b/modules/commands/ns_suspend.cpp
@@ -272,9 +272,6 @@ class NSSuspend : public Module
public:
NSSuspend(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::NickInfo>()
- , EventHook<NickServ::Event::PreNickExpire>()
- , EventHook<NickServ::Event::NickValidate>()
, commandnssuspend(this, onnicksuspend)
, commandnsunsuspend(this, onnickunsuspend)
, onnicksuspend(this)
diff --git a/modules/commands/os_defcon.cpp b/modules/commands/os_defcon.cpp
index ba893a960..498af9a8a 100644
--- a/modules/commands/os_defcon.cpp
+++ b/modules/commands/os_defcon.cpp
@@ -337,12 +337,6 @@ class OSDefcon : public Module
public:
OSDefcon(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChannelModeSet>()
- , EventHook<Event::ChannelModeUnset>()
- , EventHook<Event::PreCommand>()
- , EventHook<Event::UserConnect>()
- , EventHook<Event::ChannelModeAdd>()
- , EventHook<Event::ChannelSync>()
, session_service("SessionService", "session")
, akills("XLineManager", "xlinemanager/sgline")
, commandosdefcon(this, ondefconlevel)
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp
index 2d68583e2..a231a1e74 100644
--- a/modules/commands/os_dns.cpp
+++ b/modules/commands/os_dns.cpp
@@ -802,11 +802,6 @@ class ModuleDNS : public Module
public:
ModuleDNS(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::NewServer>()
- , EventHook<Event::ServerQuit>()
- , EventHook<Event::UserConnect>()
- , EventHook<Event::PreUserLogoff>()
- , EventHook<Event::DnsRequest>()
, zonetype(this)
, servertype(this)
, zonemembtype(this)
diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp
index be7f908bd..0a7b1c209 100644
--- a/modules/commands/os_forbid.cpp
+++ b/modules/commands/os_forbid.cpp
@@ -460,10 +460,6 @@ class OSForbid : public Module
public:
OSForbid(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::UserConnect>()
- , EventHook<Event::UserNickChange>()
- , EventHook<Event::CheckKick>()
- , EventHook<Event::PreCommand>()
, forbid_service(this)
, type(this)
, commandosforbid(this)
diff --git a/modules/commands/os_ignore.cpp b/modules/commands/os_ignore.cpp
index 03632f84d..d9563cc29 100644
--- a/modules/commands/os_ignore.cpp
+++ b/modules/commands/os_ignore.cpp
@@ -374,7 +374,6 @@ class OSIgnore : public Module
public:
OSIgnore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::BotPrivmsg>()
, ignoretype(this)
, osignoreservice(this)
, commandosignore(this)
diff --git a/modules/commands/os_info.cpp b/modules/commands/os_info.cpp
index 4342791a7..7b292d4b2 100644
--- a/modules/commands/os_info.cpp
+++ b/modules/commands/os_info.cpp
@@ -241,8 +241,6 @@ class OSInfo : public Module
public:
OSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::NickInfo>()
- , EventHook<Event::ChanInfo>()
, commandosinfo(this)
, oinfotype(this)
{
diff --git a/modules/commands/os_login.cpp b/modules/commands/os_login.cpp
index f09d794b2..650c48e3d 100644
--- a/modules/commands/os_login.cpp
+++ b/modules/commands/os_login.cpp
@@ -125,7 +125,6 @@ class OSLogin : public Module
public:
OSLogin(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::IsServicesOperEvent>()
, commandoslogin(this)
, commandoslogout(this)
, os_login(this, "os_login")
diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp
index ecee31520..03a1e3a57 100644
--- a/modules/commands/os_news.cpp
+++ b/modules/commands/os_news.cpp
@@ -426,8 +426,6 @@ class OSNews : public Module
public:
OSNews(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::UserModeSet>()
- , EventHook<Event::UserConnect>()
, newsitemtype(this)
, commandoslogonnews(this)
, commandosopernews(this)
diff --git a/modules/commands/os_noop.cpp b/modules/commands/os_noop.cpp
index 14cf8b8c4..0a4fe845e 100644
--- a/modules/commands/os_noop.cpp
+++ b/modules/commands/os_noop.cpp
@@ -77,7 +77,6 @@ class OSNOOP : public Module
public:
OSNOOP(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::UserModeSet>()
, commandosnoop(this)
, noop(this, "noop")
{
diff --git a/modules/cs_statusupdate.cpp b/modules/cs_statusupdate.cpp
index 312aaac71..e2e37c60d 100644
--- a/modules/cs_statusupdate.cpp
+++ b/modules/cs_statusupdate.cpp
@@ -13,8 +13,6 @@ class StatusUpdate : public Module
{
public:
StatusUpdate(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::AccessAdd>()
- , EventHook<Event::AccessDel>()
{
}
diff --git a/modules/database/db_flatfile.cpp b/modules/database/db_flatfile.cpp
index 9872c8b2e..0793269ea 100644
--- a/modules/database/db_flatfile.cpp
+++ b/modules/database/db_flatfile.cpp
@@ -80,8 +80,6 @@ class DBFlatFile : public Module
public:
DBFlatFile(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, DATABASE | VENDOR)
- , EventHook<Event::LoadDatabase>()
- , EventHook<Event::SaveDatabase>()
, last_day(0)
, loaded(false)
{
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index 2e13342a9..dff08250e 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -1367,8 +1367,6 @@ class DBOld : public Module
public:
DBOld(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, DATABASE | VENDOR)
- , EventHook<Event::LoadDatabase>()
- , EventHook<Event::UplinkSync>()
, mlock_on(this, "mlock_on")
, mlock_off(this, "mlock_off")
, mlock_limit(this, "mlock_limit")
diff --git a/modules/database/db_redis.cpp b/modules/database/db_redis.cpp
index 33027d398..72f25a16e 100644
--- a/modules/database/db_redis.cpp
+++ b/modules/database/db_redis.cpp
@@ -65,8 +65,6 @@ class DatabaseRedis : public Module
ServiceReference<Provider> redis;
DatabaseRedis(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, DATABASE | VENDOR)
- , EventHook<Event::LoadDatabase>()
- , EventHook<Event::SerializeEvents>()
, sl(this)
{
me = this;
diff --git a/modules/database/db_sql.cpp b/modules/database/db_sql.cpp
index 8f3e136e3..4f6a1e909 100644
--- a/modules/database/db_sql.cpp
+++ b/modules/database/db_sql.cpp
@@ -50,7 +50,6 @@ class DBMySQL : public Module, public Pipe
public:
DBMySQL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, DATABASE | VENDOR)
- , EventHook<Event::SerializeEvents>()
{
}
diff --git a/modules/encryption/enc_bcrypt.cpp b/modules/encryption/enc_bcrypt.cpp
index 98dd30664..8aca7ddee 100644
--- a/modules/encryption/enc_bcrypt.cpp
+++ b/modules/encryption/enc_bcrypt.cpp
@@ -877,8 +877,6 @@ class EBCRYPT : public Module
public:
EBCRYPT(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR | EXTRA)
- , EventHook<Event::Encrypt>()
- , EventHook<Event::CheckAuthentication>()
, rounds(10)
{
// Test a pre-calculated hash
diff --git a/modules/encryption/enc_md5.cpp b/modules/encryption/enc_md5.cpp
index 79ab3dcd4..a92f5a4f9 100644
--- a/modules/encryption/enc_md5.cpp
+++ b/modules/encryption/enc_md5.cpp
@@ -345,8 +345,6 @@ class EMD5 : public Module
public:
EMD5(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>()
- , EventHook<Event::CheckAuthentication>()
, md5provider(this)
{
if (ModuleManager::FindFirstOf(ENCRYPTION) == this)
diff --git a/modules/encryption/enc_none.cpp b/modules/encryption/enc_none.cpp
index f9b1d1f96..8164534eb 100644
--- a/modules/encryption/enc_none.cpp
+++ b/modules/encryption/enc_none.cpp
@@ -16,9 +16,6 @@ class ENone : public Module
{
public:
ENone(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>()
- , EventHook<Event::Decrypt>()
- , EventHook<Event::CheckAuthentication>()
{
}
diff --git a/modules/encryption/enc_old.cpp b/modules/encryption/enc_old.cpp
index 58be6f0da..4e3e70f7d 100644
--- a/modules/encryption/enc_old.cpp
+++ b/modules/encryption/enc_old.cpp
@@ -44,8 +44,6 @@ class EOld : public Module
public:
EOld(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>()
- , EventHook<Event::CheckAuthentication>()
, oldmd5provider(this)
{
if (ModuleManager::FindFirstOf(ENCRYPTION) == this)
diff --git a/modules/encryption/enc_sha1.cpp b/modules/encryption/enc_sha1.cpp
index 6fae784f2..a99bc834e 100644
--- a/modules/encryption/enc_sha1.cpp
+++ b/modules/encryption/enc_sha1.cpp
@@ -200,8 +200,6 @@ class ESHA1 : public Module
public:
ESHA1(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>()
- , EventHook<Event::CheckAuthentication>()
, sha1provider(this)
{
if (ModuleManager::FindFirstOf(ENCRYPTION) == this)
diff --git a/modules/encryption/enc_sha256.cpp b/modules/encryption/enc_sha256.cpp
index 1f518cae2..a138b3756 100644
--- a/modules/encryption/enc_sha256.cpp
+++ b/modules/encryption/enc_sha256.cpp
@@ -275,8 +275,6 @@ class ESHA256 : public Module
public:
ESHA256(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>()
- , EventHook<Event::CheckAuthentication>()
, sha256provider(this)
{
diff --git a/modules/extra/m_ldap.cpp b/modules/extra/m_ldap.cpp
index 989f21f22..e20b4823e 100644
--- a/modules/extra/m_ldap.cpp
+++ b/modules/extra/m_ldap.cpp
@@ -451,7 +451,6 @@ class ModuleLDAP : public Module, public Pipe
public:
ModuleLDAP(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::ModuleUnload>()
{
me = this;
diff --git a/modules/extra/m_ldap_oper.cpp b/modules/extra/m_ldap_oper.cpp
index e6460b8cd..a8973fa1e 100644
--- a/modules/extra/m_ldap_oper.cpp
+++ b/modules/extra/m_ldap_oper.cpp
@@ -88,8 +88,6 @@ class LDAPOper : public Module
Anope::string filter;
public:
LDAPOper(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::NickIdentify>()
- , EventHook<Event::DelCore>()
, ldap("LDAPProvider", "ldap/main")
, iinterface(this)
{
diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp
index 1b8f4b6e8..843a2ba0a 100644
--- a/modules/extra/m_mysql.cpp
+++ b/modules/extra/m_mysql.cpp
@@ -182,7 +182,6 @@ class ModuleSQL : public Module
DispatcherThread *DThread;
ModuleSQL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::ModuleUnload>()
{
me = this;
diff --git a/modules/extra/m_sql_authentication.cpp b/modules/extra/m_sql_authentication.cpp
index 16a84f7c2..1c2dbe729 100644
--- a/modules/extra/m_sql_authentication.cpp
+++ b/modules/extra/m_sql_authentication.cpp
@@ -78,8 +78,6 @@ class ModuleSQLAuthentication : public Module
public:
ModuleSQLAuthentication(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::PreCommand>()
- , EventHook<Event::CheckAuthentication>()
{
me = this;
diff --git a/modules/extra/m_sql_log.cpp b/modules/extra/m_sql_log.cpp
index 313584281..6922d168e 100644
--- a/modules/extra/m_sql_log.cpp
+++ b/modules/extra/m_sql_log.cpp
@@ -18,7 +18,6 @@ class SQLLog : public Module
public:
SQLLog(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR | EXTRA)
- , EventHook<Event::LogMessage>()
{
}
diff --git a/modules/extra/m_ssl_gnutls.cpp b/modules/extra/m_ssl_gnutls.cpp
index 6682da094..93a56f03a 100644
--- a/modules/extra/m_ssl_gnutls.cpp
+++ b/modules/extra/m_ssl_gnutls.cpp
@@ -303,7 +303,6 @@ class GnuTLSModule : public Module
MySSLService service;
GnuTLSModule(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::PreServerConnect>()
, cred(NULL)
, service(this, "ssl")
{
diff --git a/modules/extra/m_ssl_openssl.cpp b/modules/extra/m_ssl_openssl.cpp
index 5b4e68ecf..748f467cf 100644
--- a/modules/extra/m_ssl_openssl.cpp
+++ b/modules/extra/m_ssl_openssl.cpp
@@ -90,7 +90,6 @@ class SSLModule : public Module
MySSLService service;
SSLModule(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::PreServerConnect>()
, service(this, "ssl")
{
me = this;
diff --git a/modules/fantasy.cpp b/modules/fantasy.cpp
index 5602522ff..b08179bca 100644
--- a/modules/fantasy.cpp
+++ b/modules/fantasy.cpp
@@ -95,8 +95,6 @@ class Fantasy : public Module
public:
Fantasy(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::Privmsg>()
- , EventHook<Event::ServiceBotEvent>()
, fantasy(this, ChanServ::channel, "BS_FANTASY")
, commandbssetfantasy(this)
, OnBotFantasy(this)
diff --git a/modules/m_dns.cpp b/modules/m_dns.cpp
index 5c096f8d8..c5fe8a767 100644
--- a/modules/m_dns.cpp
+++ b/modules/m_dns.cpp
@@ -1016,7 +1016,6 @@ class ModuleDNS : public Module
public:
ModuleDNS(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::ModuleUnload>()
, manager(this)
{
diff --git a/modules/m_dnsbl.cpp b/modules/m_dnsbl.cpp
index 8bc549b0f..80656959a 100644
--- a/modules/m_dnsbl.cpp
+++ b/modules/m_dnsbl.cpp
@@ -96,7 +96,6 @@ class ModuleDNSBL : public Module
public:
ModuleDNSBL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR | EXTRA)
- , EventHook<Event::UserConnect>()
{
}
diff --git a/modules/m_helpchan.cpp b/modules/m_helpchan.cpp
index b8efe1b0a..3897b2b5a 100644
--- a/modules/m_helpchan.cpp
+++ b/modules/m_helpchan.cpp
@@ -12,7 +12,6 @@ class HelpChannel : public Module
{
public:
HelpChannel(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChannelModeSet>()
{
}
diff --git a/modules/m_httpd.cpp b/modules/m_httpd.cpp
index f3125654f..17f80d376 100644
--- a/modules/m_httpd.cpp
+++ b/modules/m_httpd.cpp
@@ -340,7 +340,6 @@ class HTTPD : public Module
std::map<Anope::string, MyHTTPProvider *> providers;
public:
HTTPD(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::ModuleLoad>()
, sslref("SSLService", "ssl")
{
diff --git a/modules/m_proxyscan.cpp b/modules/m_proxyscan.cpp
index c8f73b403..398e021db 100644
--- a/modules/m_proxyscan.cpp
+++ b/modules/m_proxyscan.cpp
@@ -221,7 +221,6 @@ class ModuleProxyScan : public Module
public:
ModuleProxyScan(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::UserConnect>()
, connectionTimeout(this, 5)
{
diff --git a/modules/m_redis.cpp b/modules/m_redis.cpp
index 5fab9706c..81c958f7c 100644
--- a/modules/m_redis.cpp
+++ b/modules/m_redis.cpp
@@ -504,7 +504,6 @@ class ModuleRedis : public Module
public:
ModuleRedis(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR)
- , EventHook<Event::ModuleUnload>()
{
}
diff --git a/modules/ns_maxemail.cpp b/modules/ns_maxemail.cpp
index 4600f9400..38054f819 100644
--- a/modules/ns_maxemail.cpp
+++ b/modules/ns_maxemail.cpp
@@ -49,7 +49,6 @@ class NSMaxEmail : public Module
public:
NSMaxEmail(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::PreCommand>()
{
}
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp
index 8f7d26351..cd92b43cf 100644
--- a/modules/protocol/bahamut.cpp
+++ b/modules/protocol/bahamut.cpp
@@ -542,7 +542,6 @@ class ProtoBahamut : public Module
public:
ProtoBahamut(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR)
- , EventHook<Event::UserNickChange>()
, ircd_proto(this)
, message_away(this)
, message_capab(this)
diff --git a/modules/protocol/charybdis.cpp b/modules/protocol/charybdis.cpp
index 3c9061511..e80b1d994 100644
--- a/modules/protocol/charybdis.cpp
+++ b/modules/protocol/charybdis.cpp
@@ -324,8 +324,6 @@ class ProtoCharybdis : public Module
public:
ProtoCharybdis(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR)
- , EventHook<Event::ChannelSync>()
- , EventHook<Event::MLockEvents>()
, ircd_proto(this)
, message_away(this)
, message_capab(this)
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp
index 7f008fcb6..5561213bf 100644
--- a/modules/protocol/hybrid.cpp
+++ b/modules/protocol/hybrid.cpp
@@ -667,7 +667,6 @@ class ProtoHybrid : public Module
public:
ProtoHybrid(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR)
- , EventHook<Event::UserNickChange>()
, ircd_proto(this)
, message_away(this)
, message_capab(this)
diff --git a/modules/protocol/inspircd20.cpp b/modules/protocol/inspircd20.cpp
index f74a30137..b28145385 100644
--- a/modules/protocol/inspircd20.cpp
+++ b/modules/protocol/inspircd20.cpp
@@ -1609,13 +1609,6 @@ class ProtoInspIRCd20 : public Module
public:
ProtoInspIRCd20(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR)
- , EventHook<Event::UserNickChange>()
- , EventHook<Event::ChannelSync>()
- , EventHook<Event::ChanRegistered>()
- , EventHook<Event::DelChan>()
- , EventHook<Event::MLockEvents>()
- , EventHook<Event::SetChannelOption>()
- , EventHook<Event::ChannelModeUnset>()
, ircd_proto(this)
, ssl(this, "ssl")
, message_away(this)
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
index 9b78579c2..f7d848a71 100644
--- a/modules/protocol/ngircd.cpp
+++ b/modules/protocol/ngircd.cpp
@@ -668,7 +668,6 @@ class ProtongIRCd : public Module
public:
ProtongIRCd(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR)
- , EventHook<Event::UserNickChange>()
, ircd_proto(this)
, message_capab(this)
, message_error(this)
diff --git a/modules/pseudoclients/botserv/botserv.cpp b/modules/pseudoclients/botserv/botserv.cpp
index 5f07700b2..692194990 100644
--- a/modules/pseudoclients/botserv/botserv.cpp
+++ b/modules/pseudoclients/botserv/botserv.cpp
@@ -30,15 +30,6 @@ class BotServCore : public Module, public BotServ::BotServService
public:
BotServCore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PSEUDOCLIENT | VENDOR)
, BotServ::BotServService(this)
- , EventHook<Event::SetCorrectModes>()
- , EventHook<Event::BotAssign>()
- , EventHook<Event::JoinChannel>()
- , EventHook<Event::LeaveChannel>()
- , EventHook<Event::Help>()
- , EventHook<Event::ChannelModeSet>()
- , EventHook<Event::CreateChan>()
- , EventHook<Event::UserKicked>()
- , EventHook<Event::CreateBot>()
, persist("PERSIST")
, inhabit("inhabit")
{
diff --git a/modules/pseudoclients/chanserv/chanserv.cpp b/modules/pseudoclients/chanserv/chanserv.cpp
index 3824f9fe2..ec5fcb648 100644
--- a/modules/pseudoclients/chanserv/chanserv.cpp
+++ b/modules/pseudoclients/chanserv/chanserv.cpp
@@ -59,25 +59,6 @@ class ChanServCore : public Module
public:
ChanServCore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PSEUDOCLIENT | VENDOR)
, ChanServService(this)
- , EventHook<Event::ChannelCreate>()
- , EventHook<Event::BotDelete>()
- , EventHook<Event::BotPrivmsg>()
- , EventHook<Event::DelCore>()
- , EventHook<Event::DelChan>()
- , EventHook<Event::Help>()
- , EventHook<Event::CheckModes>()
- , EventHook<Event::CreateChan>()
- , EventHook<Event::CanSet>()
- , EventHook<Event::ChannelSync>()
- , EventHook<Event::Log>()
- , EventHook<Event::ExpireTick>()
- , EventHook<Event::CheckDelete>()
- , EventHook<Event::PreUplinkSync>()
- , EventHook<Event::ChanRegistered>()
- , EventHook<Event::JoinChannel>()
- , EventHook<Event::ChannelModeSet>()
- , EventHook<Event::ChanInfo>()
- , EventHook<Event::SetCorrectModes>()
, inhabit(this, "inhabit")
, persist("PERSIST")
, always_lower(false)
diff --git a/modules/pseudoclients/global.cpp b/modules/pseudoclients/global.cpp
index 307785e39..f31605acb 100644
--- a/modules/pseudoclients/global.cpp
+++ b/modules/pseudoclients/global.cpp
@@ -33,10 +33,6 @@ class GlobalCore : public Module
public:
GlobalCore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PSEUDOCLIENT | VENDOR)
, GlobalService(this)
- , EventHook<Event::Restart>()
- , EventHook<Event::Shutdown>()
- , EventHook<Event::NewServer>()
- , EventHook<Event::Help>()
{
}
diff --git a/modules/pseudoclients/hostserv.cpp b/modules/pseudoclients/hostserv.cpp
index 1b42944c3..285ea893b 100644
--- a/modules/pseudoclients/hostserv.cpp
+++ b/modules/pseudoclients/hostserv.cpp
@@ -25,11 +25,6 @@ class HostServCore : public Module
public:
HostServCore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PSEUDOCLIENT | VENDOR)
- , EventHook<Event::UserLogin>()
- , EventHook<Event::NickUpdate>()
- , EventHook<Event::Help>()
- , EventHook<Event::SetVhost>()
- , EventHook<Event::DeleteVhost>()
{
if (!IRCD || !IRCD->CanSetVHost)
throw ModuleException("Your IRCd does not support vhosts");
diff --git a/modules/pseudoclients/memoserv/memoserv.cpp b/modules/pseudoclients/memoserv/memoserv.cpp
index f83d23399..a52ee746c 100644
--- a/modules/pseudoclients/memoserv/memoserv.cpp
+++ b/modules/pseudoclients/memoserv/memoserv.cpp
@@ -62,14 +62,6 @@ class MemoServCore : public Module, public MemoServ::MemoServService
public:
MemoServCore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PSEUDOCLIENT | VENDOR)
, MemoServ::MemoServService(this)
- , EventHook<Event::NickCoreCreate>()
- , EventHook<Event::CreateChan>()
- , EventHook<Event::BotDelete>()
- , EventHook<Event::NickIdentify>()
- , EventHook<Event::JoinChannel>()
- , EventHook<Event::UserAway>()
- , EventHook<Event::NickUpdate>()
- , EventHook<Event::Help>()
, onmemosend(this)
, onmemodel(this)
, memoinfo_type(this)
diff --git a/modules/pseudoclients/nickserv/nickserv.cpp b/modules/pseudoclients/nickserv/nickserv.cpp
index 8e2b9bf7c..3ed68d2ec 100644
--- a/modules/pseudoclients/nickserv/nickserv.cpp
+++ b/modules/pseudoclients/nickserv/nickserv.cpp
@@ -154,26 +154,6 @@ class NickServCore : public Module, public NickServ::NickServService
public:
NickServCore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PSEUDOCLIENT | VENDOR)
, NickServ::NickServService(this)
- , EventHook<Event::Shutdown>()
- , EventHook<Event::Restart>()
- , EventHook<Event::UserLogin>()
- , EventHook<Event::DelNick>()
- , EventHook<Event::DelCore>()
- , EventHook<Event::ChangeCoreDisplay>()
- , EventHook<Event::NickIdentify>()
- , EventHook<Event::NickGroup>()
- , EventHook<Event::NickUpdate>()
- , EventHook<Event::UserConnect>()
- , EventHook<Event::PostUserLogoff>()
- , EventHook<Event::ServerSync>()
- , EventHook<Event::UserNickChange>()
- , EventHook<Event::UserModeSet>()
- , EventHook<Event::Help>()
- , EventHook<Event::ExpireTick>()
- , EventHook<Event::NickInfo>()
- , EventHook<Event::ModuleUnload>()
- , EventHook<Event::NickCoreCreate>()
- , EventHook<Event::UserQuit>()
, held(this, "HELD")
, collided(this, "COLLIDED")
, onprenickexpire(this)
diff --git a/modules/pseudoclients/operserv.cpp b/modules/pseudoclients/operserv.cpp
index 9f407e059..fe187b70c 100644
--- a/modules/pseudoclients/operserv.cpp
+++ b/modules/pseudoclients/operserv.cpp
@@ -216,15 +216,6 @@ class OperServCore : public Module
public:
OperServCore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PSEUDOCLIENT | VENDOR)
- , EventHook<Event::BotPrivmsg>()
- , EventHook<Event::ServerQuit>()
- , EventHook<Event::UserModeSet>()
- , EventHook<Event::UserModeUnset>()
- , EventHook<Event::UserConnect>()
- , EventHook<Event::UserNickChange>()
- , EventHook<Event::CheckKick>()
- , EventHook<Event::Help>()
- , EventHook<Event::Log>()
, sgtype(this)
, sglines(this)
, sqtype(this)