summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-22 19:23:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-22 19:23:20 +0000
commit93e3cda102be0870171ecd9ad0d6507566c7ffd1 (patch)
tree5fda1d70ee8bad97c59c9dd16780e1c54e52c08d /include
parente16c16e7a0cc59d85373f794d9179befe5a7a1f7 (diff)
Added facility for servers to send KICK message (ew, i hate this crap)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/channels.h1
-rw-r--r--include/modules.h2
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