diff options
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 0703a9345..5d2ff3412 100644 --- a/include/modules.h +++ b/include/modules.h @@ -487,6 +487,10 @@ class Module : public classbase */ virtual int OnKill(userrec* source, userrec* dest, std::string reason); + /** Called when an oper wants to disconnect a remote user via KILL + */ + virtual void OnRemoteKill(userrec* source, userrec* dest, std::string reason); + /** 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, |