diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 09:59:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 09:59:44 +0000 |
commit | bc0b595b6b9bc6d9fade71117607314cbf54c8c8 (patch) | |
tree | 002d0f486d5d8a97cc04b99f0586c6ccceb0a152 /include | |
parent | ce0213e10f1c5125a5d1af906136110cdf08c056 (diff) |
Added remote kill
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2035 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-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, |