summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 22:51:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 22:51:22 +0000
commit53afaa7cadcdf222dcf761441727305f79b4c557 (patch)
tree34d8ba4dcba9ad6c96ac3eef8223f8c7ea45689e /src
parent6f1b91fb149fc547c96a93b4dc421f4e0721cb5a (diff)
Remove Implements() method from every module. booya.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_httpclienttest.cpp4
-rw-r--r--src/modules/extra/m_mysql.cpp4
-rw-r--r--src/modules/extra/m_pgsql.cpp4
-rw-r--r--src/modules/extra/m_sqlauth.cpp4
-rw-r--r--src/modules/extra/m_sqlite3.cpp4
-rw-r--r--src/modules/extra/m_sqllog.cpp6
-rw-r--r--src/modules/extra/m_sqloper.cpp4
-rw-r--r--src/modules/extra/m_sqlutils.cpp4
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp5
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp5
-rw-r--r--src/modules/extra/m_ssl_oper_cert.cpp4
-rw-r--r--src/modules/extra/m_sslinfo.cpp3
-rw-r--r--src/modules/extra/m_testclient.cpp4
-rw-r--r--src/modules/extra/m_ziplink.cpp5
-rw-r--r--src/modules/m_antibear.cpp4
-rw-r--r--src/modules/m_antibottler.cpp4
-rw-r--r--src/modules/m_blockamsg.cpp4
-rw-r--r--src/modules/m_blockcaps.cpp4
-rw-r--r--src/modules/m_blockcolor.cpp4
-rw-r--r--src/modules/m_botmode.cpp4
-rw-r--r--src/modules/m_cban.cpp4
-rw-r--r--src/modules/m_censor.cpp4
-rw-r--r--src/modules/m_cgiirc.cpp4
-rw-r--r--src/modules/m_chancreate.cpp4
-rw-r--r--src/modules/m_check.cpp4
-rw-r--r--src/modules/m_chghost.cpp4
-rw-r--r--src/modules/m_cloaking.cpp4
-rw-r--r--src/modules/m_clones.cpp4
-rw-r--r--src/modules/m_commonchans.cpp4
-rw-r--r--src/modules/m_conn_join.cpp4
-rw-r--r--src/modules/m_conn_umodes.cpp4
-rw-r--r--src/modules/m_conn_waitpong.cpp4
-rw-r--r--src/modules/m_connflood.cpp4
-rw-r--r--src/modules/m_customtitle.cpp4
-rw-r--r--src/modules/m_dccallow.cpp4
-rw-r--r--src/modules/m_deaf.cpp4
-rw-r--r--src/modules/m_delayjoin.cpp4
-rw-r--r--src/modules/m_denychans.cpp4
-rw-r--r--src/modules/m_dnsbl.cpp4
-rw-r--r--src/modules/m_foobar.cpp4
-rw-r--r--src/modules/m_globops.cpp3
-rw-r--r--src/modules/m_helpop.cpp4
-rw-r--r--src/modules/m_hidechans.cpp4
-rw-r--r--src/modules/m_hideoper.cpp4
-rw-r--r--src/modules/m_hostchange.cpp4
-rw-r--r--src/modules/m_http_client.cpp4
-rw-r--r--src/modules/m_httpd.cpp4
-rw-r--r--src/modules/m_httpd_stats.cpp4
-rw-r--r--src/modules/m_ident.cpp4
-rw-r--r--src/modules/m_invisible.cpp4
-rw-r--r--src/modules/m_joinflood.cpp4
-rw-r--r--src/modules/m_jumpserver.cpp4
-rw-r--r--src/modules/m_kicknorejoin.cpp4
-rw-r--r--src/modules/m_knock.cpp3
-rw-r--r--src/modules/m_lockserv.cpp4
-rw-r--r--src/modules/m_md5.cpp4
-rw-r--r--src/modules/m_messageflood.cpp4
-rw-r--r--src/modules/m_namesx.cpp4
-rw-r--r--src/modules/m_nickflood.cpp4
-rw-r--r--src/modules/m_nicklock.cpp4
-rw-r--r--src/modules/m_noctcp.cpp4
-rw-r--r--src/modules/m_noinvite.cpp4
-rw-r--r--src/modules/m_nokicks.cpp4
-rw-r--r--src/modules/m_nonicks.cpp4
-rw-r--r--src/modules/m_nonotice.cpp4
-rw-r--r--src/modules/m_oper_hash.cpp4
-rw-r--r--src/modules/m_operchans.cpp4
-rw-r--r--src/modules/m_operflood.cpp6
-rw-r--r--src/modules/m_operjoin.cpp4
-rw-r--r--src/modules/m_operlevels.cpp4
-rw-r--r--src/modules/m_operlog.cpp4
-rw-r--r--src/modules/m_opermodes.cpp4
-rw-r--r--src/modules/m_opermotd.cpp4
-rw-r--r--src/modules/m_override.cpp4
-rw-r--r--src/modules/m_proxyscan.cpp4
-rw-r--r--src/modules/m_randquote.cpp4
-rw-r--r--src/modules/m_redirect.cpp4
-rw-r--r--src/modules/m_regonlycreate.cpp4
-rw-r--r--src/modules/m_remove.cpp4
-rw-r--r--src/modules/m_restrictbanned.cpp4
-rw-r--r--src/modules/m_restrictchans.cpp4
-rw-r--r--src/modules/m_restrictmsg.cpp4
-rw-r--r--src/modules/m_rpc_json.cpp4
-rw-r--r--src/modules/m_rpctest.cpp4
-rw-r--r--src/modules/m_safelist.cpp4
-rw-r--r--src/modules/m_securelist.cpp4
-rw-r--r--src/modules/m_seenicks.cpp4
-rw-r--r--src/modules/m_services.cpp4
-rw-r--r--src/modules/m_services_account.cpp5
-rw-r--r--src/modules/m_servprotect.cpp4
-rw-r--r--src/modules/m_sethost.cpp4
-rw-r--r--src/modules/m_sha256.cpp4
-rw-r--r--src/modules/m_showwhois.cpp4
-rw-r--r--src/modules/m_silence.cpp4
-rw-r--r--src/modules/m_silence_ext.cpp4
-rw-r--r--src/modules/m_spanningtree/main.cpp31
-rw-r--r--src/modules/m_spanningtree/main.h1
-rw-r--r--src/modules/m_ssl_dummy.cpp4
-rw-r--r--src/modules/m_sslmodes.cpp4
-rw-r--r--src/modules/m_stripcolor.cpp4
-rw-r--r--src/modules/m_svshold.cpp4
-rw-r--r--src/modules/m_swhois.cpp4
-rw-r--r--src/modules/m_taxonomy.cpp4
-rw-r--r--src/modules/m_testcommand.cpp3
-rw-r--r--src/modules/m_timedbans.cpp4
-rw-r--r--src/modules/m_tline.cpp3
-rw-r--r--src/modules/m_uhnames.cpp4
-rw-r--r--src/modules/m_userip.cpp4
-rw-r--r--src/modules/m_vhost.cpp3
-rw-r--r--src/modules/m_watch.cpp4
-rw-r--r--src/modules/m_xmlsocket.cpp4
111 files changed, 11 insertions, 459 deletions
diff --git a/src/modules/extra/m_httpclienttest.cpp b/src/modules/extra/m_httpclienttest.cpp
index 0168cbc72..a75414368 100644
--- a/src/modules/extra/m_httpclienttest.cpp
+++ b/src/modules/extra/m_httpclienttest.cpp
@@ -35,10 +35,6 @@ public:
{
}
- virtual void Implements(char* List)
- {
- List[I_OnRequest] = List[I_OnUserJoin] = List[I_OnUserPart] = 1;
- }
virtual Version GetVersion()
{
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 25b54c258..d8de9c6c2 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -754,10 +754,6 @@ class ModuleSQL : public Module
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnRequest] = 1;
- }
unsigned long NewID()
{
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index 17dc4e12f..8222890e8 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -752,10 +752,6 @@ class ModulePgSQL : public Module
ServerInstance->Modules->DoneWithInterface("SQLutils");
}
- void Implements(char* List)
- {
- List[I_OnUnloadModule] = List[I_OnRequest] = List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnUserDisconnect] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index f8e1cf34e..ec0b544aa 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -62,10 +62,6 @@ public:
ServerInstance->Modules->DoneWithInterface("SQLutils");
}
- void Implements(char* List)
- {
- List[I_OnUserDisconnect] = List[I_OnCheckReady] = List[I_OnRequest] = List[I_OnRehash] = List[I_OnUserRegister] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 9607cb4dd..4c2faee1c 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -498,10 +498,6 @@ class ModuleSQLite3 : public Module
ServerInstance->Modules->DoneWithInterface("SQLutils");
}
- void Implements(char* List)
- {
- List[I_OnRequest] = List[I_OnRehash] = 1;
- }
void SendQueue()
{
diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp
index c127adbaa..6f6d75059 100644
--- a/src/modules/extra/m_sqllog.cpp
+++ b/src/modules/extra/m_sqllog.cpp
@@ -212,12 +212,6 @@ class ModuleSQLLog : public Module
ServerInstance->Modules->DoneWithInterface("SQLutils");
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnOper] = List[I_OnGlobalOper] = List[I_OnKill] = 1;
- List[I_OnPreCommand] = List[I_OnUserConnect] = 1;
- List[I_OnUserQuit] = List[I_OnLoadModule] = List[I_OnRequest] = 1;
- }
void ReadConfig()
{
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 6e7d2a44a..0b10ac467 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -60,10 +60,6 @@ public:
ServerInstance->Modules->DoneWithInterface("HashRequest");
}
- void Implements(char* List)
- {
- List[I_OnRequest] = List[I_OnRehash] = List[I_OnPreCommand] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/extra/m_sqlutils.cpp b/src/modules/extra/m_sqlutils.cpp
index 39cb97606..988af6f8b 100644
--- a/src/modules/extra/m_sqlutils.cpp
+++ b/src/modules/extra/m_sqlutils.cpp
@@ -47,10 +47,6 @@ public:
ServerInstance->Modules->UnpublishInterface("SQLutils", this);
}
- void Implements(char* List)
- {
- List[I_OnChannelDelete] = List[I_OnUnloadModule] = List[I_OnRequest] = List[I_OnUserDisconnect] = 1;
- }
virtual char* OnRequest(Request* request)
{
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 3026d6935..ca72e620f 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -288,11 +288,6 @@ class ModuleSSLGnuTLS : public Module
return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_On005Numeric] = List[I_OnRawSocketConnect] = List[I_OnRawSocketAccept] = List[I_OnRawSocketClose] = List[I_OnRawSocketRead] = List[I_OnRawSocketWrite] = List[I_OnCleanup] = 1;
- List[I_OnBufferFlushed] = List[I_OnRequest] = List[I_OnSyncUserMetaData] = List[I_OnDecodeMetaData] = List[I_OnUnloadModule] = List[I_OnRehash] = List[I_OnWhois] = List[I_OnPostConnect] = 1;
- }
virtual void On005Numeric(std::string &output)
{
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index d38b85058..86c7d9574 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -344,11 +344,6 @@ class ModuleSSLOpenSSL : public Module
return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnRawSocketConnect] = List[I_OnRawSocketAccept] = List[I_OnRawSocketClose] = List[I_OnRawSocketRead] = List[I_OnRawSocketWrite] = List[I_OnCleanup] = List[I_On005Numeric] = 1;
- List[I_OnBufferFlushed] = List[I_OnRequest] = List[I_OnSyncUserMetaData] = List[I_OnDecodeMetaData] = List[I_OnUnloadModule] = List[I_OnRehash] = List[I_OnWhois] = List[I_OnPostConnect] = 1;
- }
virtual char* OnRequest(Request* request)
{
diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp
index ae79e6b14..a83817163 100644
--- a/src/modules/extra/m_ssl_oper_cert.cpp
+++ b/src/modules/extra/m_ssl_oper_cert.cpp
@@ -91,10 +91,6 @@ class ModuleOperSSLCert : public Module
delete cf;
}
- void Implements(char* List)
- {
- List[I_OnPreCommand] = List[I_OnRehash] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp
index 2c28cf5d0..28156a916 100644
--- a/src/modules/extra/m_sslinfo.cpp
+++ b/src/modules/extra/m_sslinfo.cpp
@@ -77,9 +77,6 @@ class ModuleSSLInfo : public Module
}
- void Implements(char* List)
- {
- }
virtual ~ModuleSSLInfo()
{
diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp
index 016e454b7..a1ce658fc 100644
--- a/src/modules/extra/m_testclient.cpp
+++ b/src/modules/extra/m_testclient.cpp
@@ -31,10 +31,6 @@ public:
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnRequest] = List[I_OnBackgroundTimer] = 1;
- }
virtual Version GetVersion()
{
diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp
index fce65d97e..3170b2f6c 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -168,11 +168,6 @@ class ModuleZLib : public Module
return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnRawSocketConnect] = List[I_OnRawSocketAccept] = List[I_OnRawSocketClose] = List[I_OnRawSocketRead] = List[I_OnRawSocketWrite] = 1;
- List[I_OnStats] = List[I_OnRequest] = 1;
- }
/* Handle BufferedSocketHook API requests */
virtual char* OnRequest(Request* request)
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index db7ff7704..1906a4a58 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -37,10 +37,6 @@ class ModuleAntiBear : public Module
return Version(1,1,0,0,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserRegister] = List[I_OnPreCommand] = 1;
- }
virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, User *user, bool validated, const std::string &original_line)
{
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp
index e77cacb35..78bce7c4e 100644
--- a/src/modules/m_antibottler.cpp
+++ b/src/modules/m_antibottler.cpp
@@ -26,10 +26,6 @@ class ModuleAntiBottler : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnPreCommand] = 1;
- }
virtual ~ModuleAntiBottler()
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index 1284f0f57..4e02a84c0 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -53,10 +53,6 @@ class ModuleBlockAmsg : public Module
ServerInstance->Modules->Attach(eventlist, this, 3);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnPreCommand] = List[I_OnCleanup] = 1;
- }
virtual ~ModuleBlockAmsg()
{
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index b59db166c..c041feb31 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -64,10 +64,6 @@ public:
ServerInstance->Modules->Attach(eventlist, this, 3);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnRehash] = 1;
- }
virtual void OnRehash(User* user, const std::string &param)
{
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index 6e92813c3..f654259ee 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -60,10 +60,6 @@ class ModuleBlockColour : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
- }
virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 1e7fc4bfe..037c78d91 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -61,10 +61,6 @@ class ModuleBotMode : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnWhois] = 1;
- }
virtual ~ModuleBotMode()
{
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp
index f43f26bb8..7b245bfb8 100644
--- a/src/modules/m_cban.cpp
+++ b/src/modules/m_cban.cpp
@@ -131,10 +131,6 @@ class ModuleCBan : public Module
ServerInstance->Modules->Attach(eventlist, this, 4);
}
- void Implements(char* List)
- {
- List[I_OnUserPreJoin] = List[I_OnSyncOtherMetaData] = List[I_OnDecodeMetaData] = List[I_OnStats] = 1;
- }
virtual int OnStats(char symbol, User* user, string_list &results)
{
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index 9fc9a9134..e29b10194 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -103,10 +103,6 @@ class ModuleCensor : public Module
ServerInstance->Modules->Attach(eventlist, this, 3);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
- }
virtual ~ModuleCensor()
{
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 16faf4f29..eebaf7d1d 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -137,10 +137,6 @@ public:
ServerInstance->Modules->Attach(eventlist, this, 7);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnCleanup] = List[I_OnSyncUserMetaData] = List[I_OnDecodeMetaData] = List[I_OnUserQuit] = List[I_OnUserConnect] = 1;
- }
virtual void Prioritize()
{
diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp
index 6c332cdcd..3b81799c3 100644
--- a/src/modules/m_chancreate.cpp
+++ b/src/modules/m_chancreate.cpp
@@ -37,10 +37,6 @@ class ModuleChanCreate : public Module
return Version(1,1,0,0,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserJoin] = 1;
- }
virtual void OnUserJoin(User* user, Channel* channel, bool &silent)
{
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 8c4aa5353..117ff72d0 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -176,10 +176,6 @@ class ModuleCheck : public Module
return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- /* we don't hook anything, nothing required */
- }
};
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index 71fd678b3..266d3cb3b 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -88,10 +88,6 @@ class ModuleChgHost : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = 1;
- }
void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index d8dae202b..7209c2714 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -357,10 +357,6 @@ class ModuleCloaking : public Module
cu->DoRehash();
}
- void Implements(char* List)
- {
- List[I_OnRehash] = 1;
- }
};
MODULE_INIT(ModuleCloaking)
diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp
index 654de81f3..cc89c2b58 100644
--- a/src/modules/m_clones.cpp
+++ b/src/modules/m_clones.cpp
@@ -88,10 +88,6 @@ class ModuleClones : public Module
return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- /* we don't hook anything, nothing required */
- }
};
diff --git a/src/modules/m_commonchans.cpp b/src/modules/m_commonchans.cpp
index 95642729d..413769ba4 100644
--- a/src/modules/m_commonchans.cpp
+++ b/src/modules/m_commonchans.cpp
@@ -58,10 +58,6 @@ class ModulePrivacyMode : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
- }
virtual ~ModulePrivacyMode()
{
diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp
index c8c361a30..e87a137cf 100644
--- a/src/modules/m_conn_join.cpp
+++ b/src/modules/m_conn_join.cpp
@@ -55,10 +55,6 @@ class ModuleConnJoin : public Module
ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIO_LAST);
}
- void Implements(char* List)
- {
- List[I_OnPostConnect] = List[I_OnRehash] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp
index 2970b7241..725bbec4a 100644
--- a/src/modules/m_conn_umodes.cpp
+++ b/src/modules/m_conn_umodes.cpp
@@ -32,10 +32,6 @@ class ModuleModesOnConnect : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnPostConnect] = List[I_OnRehash] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp
index 12ab91c34..5350291a8 100644
--- a/src/modules/m_conn_waitpong.cpp
+++ b/src/modules/m_conn_waitpong.cpp
@@ -45,10 +45,6 @@ class ModuleWaitPong : public Module
killonbadreply = true;
}
- void Implements(char* List)
- {
- List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnPreCommand] = List[I_OnRehash] = List[I_OnUserDisconnect] = List[I_OnCleanup] = 1;
- }
char* RandString(unsigned int length)
{
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp
index 4d062a18e..5cd50d028 100644
--- a/src/modules/m_connflood.cpp
+++ b/src/modules/m_connflood.cpp
@@ -45,10 +45,6 @@ public:
return Version(1,1,0,0,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnUserRegister] = 1;
- }
void InitConf()
{
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp
index fa49a1a75..a51ee4f3c 100644
--- a/src/modules/m_customtitle.cpp
+++ b/src/modules/m_customtitle.cpp
@@ -122,10 +122,6 @@ class ModuleCustomTitle : public Module
ServerInstance->Modules->Attach(eventlist, this, 5);
}
- void Implements(char* List)
- {
- List[I_OnDecodeMetaData] = List[I_OnWhoisLine] = List[I_OnSyncUserMetaData] = List[I_OnUserQuit] = List[I_OnCleanup] = 1;
- }
// :kenny.chatspike.net 320 Brain Azhrarn :is getting paid to play games.
int OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index e1fe7143b..e8aa2db07 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -259,10 +259,6 @@ class ModuleDCCAllow : public Module
ServerInstance->Modules->Attach(eventlist, this, 5);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnUserQuit] = List[I_OnUserPreNick] = List[I_OnRehash] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp
index 8e4378ef3..f08a32d1c 100644
--- a/src/modules/m_deaf.cpp
+++ b/src/modules/m_deaf.cpp
@@ -68,10 +68,6 @@ class ModuleDeaf : public Module
ServerInstance->Modules->Attach(eventlist, this, 4);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnRehash] = List[I_OnBuildExemptList] = 1;
- }
virtual void OnRehash(User* user, const std::string&)
{
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp
index f90893871..435148c61 100644
--- a/src/modules/m_delayjoin.cpp
+++ b/src/modules/m_delayjoin.cpp
@@ -89,10 +89,6 @@ class ModuleDelayJoin : public Module
return Version(1, 1, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserJoin] = List[I_OnUserPart] = List[I_OnUserKick] = List[I_OnUserQuit] = List[I_OnUserList] = List[I_OnText] = 1;
- }
virtual int OnUserList(User* user, Channel* Ptr, CUList* &nameslist)
{
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index 1c57cfdd1..0226a4dd5 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -48,10 +48,6 @@ class ModuleDenyChannels : public Module
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserPreJoin] = List[I_OnRehash] = 1;
- }
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
{
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index 98de1082b..33f118a8d 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -215,10 +215,6 @@ class ModuleDNSBL : public Module
return Version(2, 0, 0, 1, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnStats] = 1;
- }
/** Clear entries and free the mem it was using
*/
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index 1e47cfcbc..fb3e8d736 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -51,10 +51,6 @@ class ModuleFoobar : public Module
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserConnect] = List[I_OnUserQuit] = List[I_OnUserJoin] = List[I_OnUserPart] = 1;
- }
virtual void OnUserConnect(User* user)
{
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index 895e51adb..9ee6ae091 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -66,9 +66,6 @@ class ModuleGlobops : public Module
return Version(1, 1, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- }
};
MODULE_INIT(ModuleGlobops)
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index b7a9ec3ce..5cff2289e 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -155,10 +155,6 @@ class ModuleHelpop : public Module
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnWhois] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index 64dfff438..824029a09 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -65,10 +65,6 @@ class ModuleHideChans : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnWhoisLine] = 1;
- }
virtual ~ModuleHideChans()
{
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index db097d14c..0202b707c 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -64,10 +64,6 @@ class ModuleHideOper : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnWhoisLine] = 1;
- }
virtual ~ModuleHideOper()
{
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index dc9da3799..2d4c72e63 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -60,10 +60,6 @@ class ModuleHostChange : public Module
ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_AFTER, &cloak);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnUserConnect] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp
index c76d88f9e..4a5af15d2 100644
--- a/src/modules/m_http_client.cpp
+++ b/src/modules/m_http_client.cpp
@@ -94,10 +94,6 @@ class ModuleHTTPClient : public Module
return Version(1, 0, 0, 0, VF_SERVICEPROVIDER | VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnRequest] = 1;
- }
char* OnRequest(Request *req)
{
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index 5d8d1f764..8b498f447 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -487,10 +487,6 @@ class ModuleHttpServer : public Module
return NULL;
}
- void Implements(char* List)
- {
- List[I_OnRequest] = 1;
- }
virtual ~ModuleHttpServer()
{
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index ef1b87cb8..e26ab5e96 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -234,10 +234,6 @@ class ModuleHttpStats : public Module
return NULL;
}
- void Implements(char* List)
- {
- List[I_OnEvent] = List[I_OnRequest] = List[I_OnChannelDelete] = List[I_OnUserJoin] = List[I_OnUserPart] = List[I_OnUserQuit] = 1;
- }
virtual ~ModuleHttpStats()
{
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 75af9e192..d762d42a2 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -353,10 +353,6 @@ class ModuleIdent : public Module
return Version(1, 1, 1, 0, VF_VENDOR, API_VERSION);
}
- virtual void Implements(char *List)
- {
- List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnCleanup] = List[I_OnUserDisconnect] = 1;
- }
virtual void OnRehash(User *user, const std::string &param)
{
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp
index 2986f43c6..3b419350d 100644
--- a/src/modules/m_invisible.cpp
+++ b/src/modules/m_invisible.cpp
@@ -185,10 +185,6 @@ class ModuleInvisible : public Module
return Version(1, 1, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnUserJoin] = List[I_OnUserPart] = List[I_OnUserQuit] = List[I_OnRehash] = 1;
- }
virtual void OnUserJoin(User* user, Channel* channel, bool &silent)
{
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index 798193659..a1f1f7a51 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -264,10 +264,6 @@ class ModuleJoinFlood : public Module
}
}
- void Implements(char* List)
- {
- List[I_OnChannelDelete] = List[I_OnUserPreJoin] = List[I_OnUserJoin] = 1;
- }
virtual ~ModuleJoinFlood()
{
diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp
index a0294e0ff..ecfa44457 100644
--- a/src/modules/m_jumpserver.cpp
+++ b/src/modules/m_jumpserver.cpp
@@ -148,10 +148,6 @@ class ModuleJumpServer : public Module
return 0;
}
- virtual void Implements(char* List)
- {
- List[I_OnUserRegister] = 1;
- }
virtual Version GetVersion()
{
diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp
index 2cb8668d2..8d4386dd1 100644
--- a/src/modules/m_kicknorejoin.cpp
+++ b/src/modules/m_kicknorejoin.cpp
@@ -201,10 +201,6 @@ public:
OnChannelDelete((Channel*)item);
}
- virtual void Implements(char* List)
- {
- List[I_OnCleanup] = List[I_OnChannelDelete] = List[I_OnUserPreJoin] = List[I_OnUserKick] = 1;
- }
virtual ~ModuleKickNoRejoin()
{
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index c0056c29f..cca5a4467 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -110,9 +110,6 @@ class ModuleKnock : public Module
}
- void Implements(char* List)
- {
- }
virtual ~ModuleKnock()
{
diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp
index 5b188f96c..c5b24131a 100644
--- a/src/modules/m_lockserv.cpp
+++ b/src/modules/m_lockserv.cpp
@@ -96,10 +96,6 @@ public:
{
}
- void Implements(char* List)
- {
- List[I_OnUserRegister] = List[I_OnRehash] = List[I_OnCheckReady] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp
index 8fe95dcb0..a51b47e8e 100644
--- a/src/modules/m_md5.cpp
+++ b/src/modules/m_md5.cpp
@@ -277,10 +277,6 @@ class ModuleMD5 : public Module
ServerInstance->Modules->UnpublishInterface("HashRequest", this);
}
- void Implements(char* List)
- {
- List[I_OnRequest] = 1;
- }
virtual char* OnRequest(Request* request)
{
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index a2029427d..c49b2122b 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -289,10 +289,6 @@ class ModuleMsgFlood : public Module
}
}
- void Implements(char* List)
- {
- List[I_OnChannelDelete] = List[I_OnUserPreNotice] = List[I_OnUserPreMessage] = 1;
- }
virtual ~ModuleMsgFlood()
{
diff --git a/src/modules/m_namesx.cpp b/src/modules/m_namesx.cpp
index e5ebf6909..980cc0ee0 100644
--- a/src/modules/m_namesx.cpp
+++ b/src/modules/m_namesx.cpp
@@ -28,10 +28,6 @@ class ModuleNamesX : public Module
ServerInstance->Modules->Attach(eventlist, this, 4);
}
- void Implements(char* List)
- {
- List[I_OnSyncUserMetaData] = List[I_OnPreCommand] = List[I_OnUserList] = List[I_On005Numeric] = 1;
- }
virtual ~ModuleNamesX()
{
diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp
index bf255e281..7187014df 100644
--- a/src/modules/m_nickflood.cpp
+++ b/src/modules/m_nickflood.cpp
@@ -266,10 +266,6 @@ class ModuleNickFlood : public Module
}
}
- void Implements(char* List)
- {
- List[I_OnChannelDelete] = List[I_OnUserPreNick] = 1;
- }
virtual ~ModuleNickFlood()
{
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 74625da38..956659389 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -124,10 +124,6 @@ class ModuleNickLock : public Module
return Version(1, 1, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserPreNick] = List[I_OnUserQuit] = List[I_OnCleanup] = 1;
- }
virtual int OnUserPreNick(User* user, const std::string &newnick)
{
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 819c5c2f2..301d7cd41 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -61,10 +61,6 @@ class ModuleNoCTCP : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
- }
virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
{
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 1955057dd..7f02b20a7 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -57,10 +57,6 @@ class ModuleNoInvite : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnUserPreInvite] = 1;
- }
virtual int OnUserPreInvite(User* user,User* dest,Channel* channel)
{
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index e3da7f713..4e8a24701 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -61,10 +61,6 @@ class ModuleNoKicks : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnAccessCheck] = 1;
- }
virtual int OnAccessCheck(User* source,User* dest,Channel* channel,int access_type)
{
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index ac6cf2697..09283777d 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -68,10 +68,6 @@ class ModuleNoNickChange : public Module
return Version(1,1,0,1,VF_COMMON|VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserPreNick] = 1;
- }
virtual int OnUserPreNick(User* user, const std::string &newnick)
{
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index 258dcab0f..f661b01f0 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -60,10 +60,6 @@ class ModuleNoNotice : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnUserPreNotice] = 1;
- }
virtual int OnUserPreNotice(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
{
diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp
index 0d2164e9c..75a5b695e 100644
--- a/src/modules/m_oper_hash.cpp
+++ b/src/modules/m_oper_hash.cpp
@@ -117,10 +117,6 @@ class ModuleOperHash : public Module
ServerInstance->Modules->DoneWithInterface("HashRequest");
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnOperCompare] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index e96fbc79a..dcfab1fb4 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -60,10 +60,6 @@ class ModuleOperChans : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnUserPreJoin] = 1;
- }
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
{
diff --git a/src/modules/m_operflood.cpp b/src/modules/m_operflood.cpp
index ef09ebd27..807472b19 100644
--- a/src/modules/m_operflood.cpp
+++ b/src/modules/m_operflood.cpp
@@ -22,12 +22,6 @@ class ModuleOperFlood : public Module
public:
ModuleOperFlood(InspIRCd * Me) : Module(Me) {}
- void Implements(char * List)
- {
- List[I_OnPostOper] = 1;
- Implementation eventlist[] = { I_OnPostOper };
- ServerInstance->Modules->Attach(eventlist, this, 1);
- }
Version GetVersion()
{
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index f0f98ea00..243c329c8 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -48,10 +48,6 @@ class ModuleOperjoin : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnPostOper] = List[I_OnRehash] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 29eafe3a1..334bdfd7a 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -42,10 +42,6 @@ class ModuleOperLevels : public Module
delete conf;
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnKill] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index f537aa9d8..8dc39691e 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -36,10 +36,6 @@ class ModuleOperLog : public Module
return Version(1,1,0,0,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnPreCommand] = List[I_On005Numeric] = 1;
- }
virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, User *user, bool validated, const std::string &original_line)
{
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp
index 4acacf669..d46aaef21 100644
--- a/src/modules/m_opermodes.cpp
+++ b/src/modules/m_opermodes.cpp
@@ -32,10 +32,6 @@ class ModuleModesOnOper : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnPostOper] = List[I_OnRehash] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index ec22d1de6..b242b0924 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -96,10 +96,6 @@ class ModuleOpermotd : public Module
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnOper] = 1;
- }
virtual void OnOper(User* user, const std::string &opertype)
{
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index ac871229f..cbad632f8 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -58,10 +58,6 @@ class ModuleOverride : public Module
delete Conf;
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnAccessCheck] = List[I_On005Numeric] = List[I_OnUserPreJoin] = List[I_OnUserPreKick] = List[I_OnPostCommand] = 1;
- }
virtual void OnPostCommand(const std::string &command, const char** parameters, int pcnt, User *user, CmdResult result, const std::string &original_line)
{
diff --git a/src/modules/m_proxyscan.cpp b/src/modules/m_proxyscan.cpp
index 916a8d891..da635d185 100644
--- a/src/modules/m_proxyscan.cpp
+++ b/src/modules/m_proxyscan.cpp
@@ -319,10 +319,6 @@ class ModuleProxy : public Module
return Version(1, 1, 1, 0, VF_VENDOR, API_VERSION);
}
- virtual void Implements(char *List)
- {
- List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnCleanup] = List[I_OnUserDisconnect] = 1;
- }
virtual void OnRehash(User *user, const std::string &param)
{
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 71380685a..2dbea5595 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -111,10 +111,6 @@ class ModuleRandQuote : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnUserConnect] = 1;
- }
virtual ~ModuleRandQuote()
{
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index 025cf8b66..7827fd4ec 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -111,10 +111,6 @@ class ModuleRedirect : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnUserPreJoin] = 1;
- }
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
{
diff --git a/src/modules/m_regonlycreate.cpp b/src/modules/m_regonlycreate.cpp
index 51129494f..ab702315e 100644
--- a/src/modules/m_regonlycreate.cpp
+++ b/src/modules/m_regonlycreate.cpp
@@ -25,10 +25,6 @@ class ModuleRegOnlyCreate : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnUserPreJoin] = 1;
- }
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
{
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index c3482da46..04fd2f1d7 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -256,10 +256,6 @@ class ModuleRemove : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_On005Numeric] = List[I_OnRehash] = 1;
- }
virtual void On005Numeric(std::string &output)
{
diff --git a/src/modules/m_restrictbanned.cpp b/src/modules/m_restrictbanned.cpp
index 855e7cc9b..32a7b1042 100644
--- a/src/modules/m_restrictbanned.cpp
+++ b/src/modules/m_restrictbanned.cpp
@@ -34,10 +34,6 @@ class ModuleRestrictBanned : public Module
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnLocalTopicChange] = List[I_OnUserPreNick] = List[I_OnUserPreNotice] = List[I_OnUserPreMessage] = 1;
- }
int CheckRestricted(User *user, Channel *channel, const std::string &action)
{
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index 3344fb26e..659a4fb5e 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -50,10 +50,6 @@ class ModuleRestrictChans : public Module
ReadConfig();
}
- void Implements(char* List)
- {
- List[I_OnUserPreJoin] = List[I_OnRehash] = 1;
- }
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
{
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index c9d9b3058..cf8f198e6 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -29,10 +29,6 @@ class ModuleRestrictMsg : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
- }
virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
{
diff --git a/src/modules/m_rpc_json.cpp b/src/modules/m_rpc_json.cpp
index 8ef0d53a0..81fb727d3 100644
--- a/src/modules/m_rpc_json.cpp
+++ b/src/modules/m_rpc_json.cpp
@@ -62,10 +62,6 @@ class ModuleRpcJson : public Module
return Version(1, 1, 0, 0, VF_SERVICEPROVIDER | VF_VENDOR, API_VERSION);
}
- void Implements(char *List)
- {
- List[I_OnEvent] = 1;
- }
virtual void OnEvent(Event *event)
{
diff --git a/src/modules/m_rpctest.cpp b/src/modules/m_rpctest.cpp
index eef3f3939..9156b17a0 100644
--- a/src/modules/m_rpctest.cpp
+++ b/src/modules/m_rpctest.cpp
@@ -40,10 +40,6 @@ class ModuleRPCTest : public Module
return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char *List)
- {
- List[I_OnEvent] = 1;
- }
virtual void OnEvent(Event *ev)
{
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp
index 3e739cc74..595d80cc1 100644
--- a/src/modules/m_safelist.cpp
+++ b/src/modules/m_safelist.cpp
@@ -64,10 +64,6 @@ class ModuleSafeList : public Module
return Version(1,1,0,0,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnBufferFlushed] = List[I_OnPreCommand] = List[I_OnCleanup] = List[I_OnUserQuit] = List[I_On005Numeric] = List[I_OnRehash] = 1;
- }
/*
* OnPreCommand()
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp
index b9228df9d..838e09874 100644
--- a/src/modules/m_securelist.cpp
+++ b/src/modules/m_securelist.cpp
@@ -49,10 +49,6 @@ class ModuleSecureList : public Module
delete MyConf;
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnPreCommand] = List[I_On005Numeric] = 1;
- }
/*
* OnPreCommand()
diff --git a/src/modules/m_seenicks.cpp b/src/modules/m_seenicks.cpp
index f65497f8d..abc43c4dd 100644
--- a/src/modules/m_seenicks.cpp
+++ b/src/modules/m_seenicks.cpp
@@ -38,10 +38,6 @@ class ModuleSeeNicks : public Module
return Version(1,1,0,1, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUserPostNick] = 1;
- }
virtual void OnUserPostNick(User* user, const std::string &oldnick)
{
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index ad5712ed1..ee65d3a80 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -200,10 +200,6 @@ class ModuleServices : public Module
}
}
- void Implements(char* List)
- {
- List[I_OnWhois] = List[I_OnUserPostNick] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnUserPreJoin] = 1;
- }
virtual void OnUserPostNick(User* user, const std::string &oldnick)
{
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index eee4d881a..a4f33c8ea 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -139,11 +139,6 @@ class ModuleServicesAccount : public Module
}
}
- void Implements(char* List)
- {
- List[I_OnWhois] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnUserPreJoin] = 1;
- List[I_OnSyncUserMetaData] = List[I_OnUserQuit] = List[I_OnCleanup] = List[I_OnDecodeMetaData] = 1;
- }
virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
{
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp
index deeddcf5d..902a4d376 100644
--- a/src/modules/m_servprotect.cpp
+++ b/src/modules/m_servprotect.cpp
@@ -52,10 +52,6 @@ class ModuleServProtectMode : public Module
ServerInstance->Modules->Attach(eventlist, this, 3);
}
- void Implements(char* List)
- {
- List[I_OnWhois] = List[I_OnKill] = List[I_OnWhoisLine] = 1;
- }
virtual ~ModuleServProtectMode()
{
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index 7f0b3e1aa..21ee2fc23 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -76,10 +76,6 @@ class ModuleSetHost : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = 1;
- }
void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_sha256.cpp b/src/modules/m_sha256.cpp
index 618229c1a..ad7352060 100644
--- a/src/modules/m_sha256.cpp
+++ b/src/modules/m_sha256.cpp
@@ -251,10 +251,6 @@ class ModuleSHA256 : public Module
ServerInstance->Modules->UnpublishInterface("HashRequest", this);
}
- void Implements(char *List)
- {
- List[I_OnRequest] = 1;
- }
virtual char* OnRequest(Request* request)
{
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index 6729c3323..d0d1e1c89 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -72,10 +72,6 @@ class ModuleShowwhois : public Module
delete sw;
}
- void Implements(char* List)
- {
- List[I_OnWhois] = 1;
- }
virtual Version GetVersion()
{
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 651d705a1..edfea9ba2 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -139,10 +139,6 @@ class ModuleSilence : public Module
ServerInstance->Modules->Attach(eventlist, this, 5);
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnUserQuit] = List[I_On005Numeric] = List[I_OnUserPreNotice] = List[I_OnUserPreMessage] = 1;
- }
virtual void OnRehash(User* user, const std::string &parameter)
{
diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp
index 011bd84a6..a53a18bf9 100644
--- a/src/modules/m_silence_ext.cpp
+++ b/src/modules/m_silence_ext.cpp
@@ -253,10 +253,6 @@ class ModuleSilence : public Module
maxsilence = 32;
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnBuildExemptList] = List[I_OnUserQuit] = List[I_On005Numeric] = List[I_OnUserPreNotice] = List[I_OnUserPreMessage] = List[I_OnUserPreInvite] = 1;
- }
virtual void OnUserQuit(User* user, const std::string &reason, const std::string &oper_message)
{
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 1afdd71b8..5a04ba27e 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -52,16 +52,17 @@ ModuleSpanningTree::ModuleSpanningTree(InspIRCd* Me)
RefreshTimer = new CacheRefreshTimer(ServerInstance, Utils);
ServerInstance->Timers->AddTimer(RefreshTimer);
- Implementation eventlist[] =
- {
- I_OnPreCommand, I_OnGetServerDescription, I_OnUserInvite, I_OnPostLocalTopicChange,
- I_OnWallops, I_OnUserNotice, I_OnUserMessage, I_OnBackgroundTimer,
- I_OnUserJoin, I_OnChangeHost, I_OnChangeName, I_OnUserPart, I_OnUserConnect,
- I_OnUserQuit, I_OnUserPostNick, I_OnUserKick, I_OnRemoteKill, I_OnRehash,
- I_OnOper, I_OnAddLine, I_OnDelLine, I_ProtoSendMode, I_OnMode,
- I_OnStats, I_ProtoSendMetaData, I_OnEvent, I_OnSetAway, I_OnCancelAway, I_OnPostCommand
- };
- ServerInstance->Modules->Attach(eventlist, this, 29);
+
+ Implementation eventlist[] =
+ {
+ I_OnPreCommand, I_OnGetServerDescription, I_OnUserInvite, I_OnPostLocalTopicChange,
+ I_OnWallops, I_OnUserNotice, I_OnUserMessage, I_OnBackgroundTimer,
+ I_OnUserJoin, I_OnChangeHost, I_OnChangeName, I_OnUserPart, I_OnUserConnect,
+ I_OnUserQuit, I_OnUserPostNick, I_OnUserKick, I_OnRemoteKill, I_OnRehash,
+ I_OnOper, I_OnAddLine, I_OnDelLine, I_ProtoSendMode, I_OnMode,
+ I_OnStats, I_ProtoSendMetaData, I_OnEvent, I_OnSetAway, I_OnCancelAway, I_OnPostCommand
+ };
+ ServerInstance->Modules->Attach(eventlist, this, 29);
}
void ModuleSpanningTree::ShowLinks(TreeServer* Current, User* user, int hops)
@@ -1000,16 +1001,6 @@ Version ModuleSpanningTree::GetVersion()
return Version(1,1,0,2,VF_VENDOR,API_VERSION);
}
-void ModuleSpanningTree::Implements(char* List)
-{
- List[I_OnPreCommand] = List[I_OnGetServerDescription] = List[I_OnUserInvite] = List[I_OnPostLocalTopicChange] = 1;
- List[I_OnWallops] = List[I_OnUserNotice] = List[I_OnUserMessage] = List[I_OnBackgroundTimer] = 1;
- List[I_OnUserJoin] = List[I_OnChangeHost] = List[I_OnChangeName] = List[I_OnUserPart] = List[I_OnUserConnect] = 1;
- List[I_OnUserQuit] = List[I_OnUserPostNick] = List[I_OnUserKick] = List[I_OnRemoteKill] = List[I_OnRehash] = 1;
- List[I_OnOper] = List[I_OnAddLine] = List[I_OnDelLine] = List[I_ProtoSendMode] = List[I_OnMode] = 1;
- List[I_OnStats] = List[I_ProtoSendMetaData] = List[I_OnEvent] = List[I_OnSetAway] = List[I_OnCancelAway] = List[I_OnPostCommand] = 1;
-}
-
/* It is IMPORTANT that m_spanningtree is the last module in the chain
* so that any activity it sees is FINAL, e.g. we arent going to send out
* a NICK message before m_cloaking has finished putting the +x on the user,
diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h
index 7374dd000..ec2a6f849 100644
--- a/src/modules/m_spanningtree/main.h
+++ b/src/modules/m_spanningtree/main.h
@@ -189,7 +189,6 @@ class ModuleSpanningTree : public Module
virtual void OnEvent(Event* event);
virtual ~ModuleSpanningTree();
virtual Version GetVersion();
- void Implements(char* List);
void Prioritize();
};
diff --git a/src/modules/m_ssl_dummy.cpp b/src/modules/m_ssl_dummy.cpp
index 584e7a3ee..2c8627d25 100644
--- a/src/modules/m_ssl_dummy.cpp
+++ b/src/modules/m_ssl_dummy.cpp
@@ -37,10 +37,6 @@ class ModuleSSLDummy : public Module
return Version(1, 0, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnSyncUserMetaData] = List[I_OnDecodeMetaData] = List[I_OnWhois] = 1;
- }
// :kenny.chatspike.net 320 Om Epy|AFK :is a Secure Connection
virtual void OnWhois(User* source, User* dest)
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp
index 9120b2736..c23d5cb55 100644
--- a/src/modules/m_sslmodes.cpp
+++ b/src/modules/m_sslmodes.cpp
@@ -81,10 +81,6 @@ class ModuleSSLModes : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_OnUserPreJoin] = 1;
- }
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
{
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index 8cb939534..2be874f63 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -98,10 +98,6 @@ class ModuleStripColor : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
- void Implements(char* List)
- {
- List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
- }
virtual ~ModuleStripColor()
{
diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp
index fdda0cb8e..8b3755b60 100644
--- a/src/modules/m_svshold.cpp
+++ b/src/modules/m_svshold.cpp
@@ -163,10 +163,6 @@ class ModuleSVSHold : public Module
ServerInstance->Modules->Attach(eventlist, this, 4);
}
- void Implements(char* List)
- {
- List[I_OnUserPreNick] = List[I_OnSyncOtherMetaData] = List[I_OnDecodeMetaData] = List[I_OnStats] = 1;
- }
virtual int OnStats(char symbol, User* user, string_list &results)
{
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 5125fbf54..df3f38f90 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -118,10 +118,6 @@ class ModuleSWhois : public Module
Conf = new ConfigReader(ServerInstance);
}
- void Implements(char* List)
- {
- List[I_OnDecodeMetaData] = List[I_OnWhoisLine] = List[I_OnSyncUserMetaData] = List[I_OnUserQuit] = List[I_OnCleanup] = List[I_OnRehash] = List[I_OnPostCommand] = 1;
- }
// :kenny.chatspike.net 320 Brain Azhrarn :is getting paid to play games.
int OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
diff --git a/src/modules/m_taxonomy.cpp b/src/modules/m_taxonomy.cpp
index 439909ce2..ca88d1c4a 100644
--- a/src/modules/m_taxonomy.cpp
+++ b/src/modules/m_taxonomy.cpp
@@ -69,10 +69,6 @@ class ModuleTaxonomy : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_ProtoSendMetaData] = 1;
- }
void ProtoSendMetaData(void* opaque, int target_type, void* target, const std::string &extname, const std::string &extdata)
{
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index 00c358882..a6b0617dc 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -46,9 +46,6 @@ class ModuleTestCommand : public Module
}
- void Implements(char* List)
- {
- }
virtual ~ModuleTestCommand()
{
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index 36adb7679..0e40dc0ea 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -123,10 +123,6 @@ class ModuleTimedBans : public Module
TimedBanList.clear();
}
- void Implements(char* List)
- {
- List[I_OnDelBan] = List[I_OnBackgroundTimer] = 1;
- }
virtual int OnDelBan(User* source, Channel* chan, const std::string &banmask)
{
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp
index a73de8b80..c520e113c 100644
--- a/src/modules/m_tline.cpp
+++ b/src/modules/m_tline.cpp
@@ -75,9 +75,6 @@ class ModuleTLine : public Module
}
- void Implements(char* List)
- {
- }
virtual ~ModuleTLine()
{
diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp
index 40de3d884..c25f9d349 100644
--- a/src/modules/m_uhnames.cpp
+++ b/src/modules/m_uhnames.cpp
@@ -29,10 +29,6 @@ class ModuleUHNames : public Module
ServerInstance->Modules->Attach(eventlist, this, 4);
}
- void Implements(char* List)
- {
- List[I_OnSyncUserMetaData] = List[I_OnPreCommand] = List[I_OnUserList] = List[I_On005Numeric] = 1;
- }
virtual ~ModuleUHNames()
{
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index d75bbb429..e71ef33c5 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -60,10 +60,6 @@ class ModuleUserIP : public Module
ServerInstance->Modules->Attach(eventlist, this, 1);
}
- void Implements(char* List)
- {
- List[I_On005Numeric] = 1;
- }
virtual void On005Numeric(std::string &output)
{
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index 87f6292da..09327d77b 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -72,9 +72,6 @@ class ModuleVHost : public Module
{
}
- void Implements(char* List)
- {
- }
virtual Version GetVersion()
{
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index 57799db51..4ce4d0340 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -324,10 +324,6 @@ class Modulewatch : public Module
maxwatch = 32;
}
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnGarbageCollect] = List[I_OnCleanup] = List[I_OnUserQuit] = List[I_OnPostConnect] = List[I_OnUserPostNick] = List[I_On005Numeric] = 1;
- }
virtual void OnUserQuit(User* user, const std::string &reason, const std::string &oper_message)
{
diff --git a/src/modules/m_xmlsocket.cpp b/src/modules/m_xmlsocket.cpp
index e51e2fd4d..9a81be1c9 100644
--- a/src/modules/m_xmlsocket.cpp
+++ b/src/modules/m_xmlsocket.cpp
@@ -102,10 +102,6 @@ class ModuleXMLSocket : public Module
return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnUnloadModule] = List[I_OnRawSocketRead] = List[I_OnRawSocketWrite] = List[I_OnRehash] = 1;
- }
virtual int OnRawSocketRead(int fd, char* buffer, unsigned int count, int &readresult)
{