diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 1 | ||||
-rw-r--r-- | include/modules.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h index c00ab0541..dd6d3b585 100644 --- a/include/channels.h +++ b/include/channels.h @@ -261,6 +261,7 @@ class ucrec : public classbase chanrec* add_channel(userrec *user, const char* cn, const char* key, bool override); chanrec* del_channel(userrec *user, const char* cname, const char* reason, bool local); void kick_channel(userrec *src,userrec *user, chanrec *Ptr, char* reason); +void server_kick_channel(userrec* user, chanrec* Ptr, char* reason, bool triggerevents); #endif diff --git a/include/modules.h b/include/modules.h index d920736a9..6afb0e181 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1410,6 +1410,8 @@ class Server : public classbase * action after calling this method is to immediately bail from your handler. */ virtual void QuitUser(userrec* user, std::string reason); + + virtual void KickUser(userrec* source, userrec* target, chanrec* chan, std::string reason); /** Matches text against a glob pattern. * Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com |