summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-12 21:22:37 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-12 21:22:37 +0200
commit623ba6ae49f8e1e0958f921fa178af8a95797c1c (patch)
treefd746ff8dfc3c89e9b051b4cffdde1a5baff85ea /include/modules.h
parent56d4680b8cf9621d7ef3e6635dc9ba4707963c8e (diff)
Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to route KILLs
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/modules.h b/include/modules.h
index a26b6e857..0c521332a 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -328,7 +328,7 @@ enum Implementation
I_OnUserMessage, I_OnMode, I_OnGetServerDescription, I_OnSyncUser,
I_OnSyncChannel, I_OnDecodeMetaData, I_OnAcceptConnection, I_OnUserInit,
I_OnChangeHost, I_OnChangeName, I_OnAddLine, I_OnDelLine, I_OnExpireLine,
- I_OnUserPostNick, I_OnPreMode, I_On005Numeric, I_OnKill, I_OnRemoteKill, I_OnLoadModule,
+ I_OnUserPostNick, I_OnPreMode, I_On005Numeric, I_OnKill, I_OnLoadModule,
I_OnUnloadModule, I_OnBackgroundTimer, I_OnPreCommand, I_OnCheckReady, I_OnCheckInvite,
I_OnRawMode, I_OnCheckKey, I_OnCheckLimit, I_OnCheckBan, I_OnCheckChannelBan, I_OnExtBanCheck,
I_OnStats, I_OnChangeLocalUserHost, I_OnPreTopicChange,
@@ -861,14 +861,6 @@ class CoreExport Module : public classbase, public usecountbase
*/
virtual ModResult OnKill(User* source, User* dest, const std::string &reason);
- /** Called when an oper wants to disconnect a remote user via KILL
- * @param source The user sending the KILL
- * @param dest The user being killed
- * @param reason The kill reason
- * @param operreason The oper kill reason
- */
- virtual void OnRemoteKill(User* source, User* dest, const std::string &reason, const std::string &operreason);
-
/** Called whenever a module is loaded.
* mod will contain a pointer to the module, and string will contain its name,
* for example m_widgets.so. This function is primary for dependency checking,