From 580632d29ae6421afe7b2d4bd97323ace3bbdced Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Apr 2005 13:27:40 +0000 Subject: Added OnUserKick and OnUserPreKick git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1086 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 12dccdade..02221f1a6 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -335,6 +335,8 @@ void Module::OnSendList(userrec* user, chanrec* channel, char mode) { }; int Module::OnPreCommand(std::string command, char **parameters, int pcnt, userrec *user) { return 0; }; bool Module::OnCheckReady(userrec* user) { return true; }; void Module::OnUserRegister(userrec* user) { }; +int Module::OnUserPreKick(userrec* source, userrec* user, chanrec* chan, std::string reason) { return 0; }; +void Module::OnUserKick(userrec* source, userrec* user, chanrec* chan, std::string reason) { }; // server is a wrapper class that provides methods to all of the C-style // exports in the core -- cgit v1.3.1-10-gc9f91