From c12ec889bb600626ecbd0cb903564f639ee55700 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 30 Apr 2005 02:55:55 +0000 Subject: Added OnAddBan and OnDelBan module api calls, and fixed glitch which required them in m_timedbans module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1267 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 1ba2dbc8e..180830aa2 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -405,6 +405,8 @@ char* Module::OnRequest(Request* request) { return NULL; }; int Module::OnOperCompare(std::string password, std::string input) { return 0; }; void Module::OnGlobalOper(userrec* user) { }; void Module::OnGlobalConnect(userrec* user) { }; +int Module::OnAddBan(userrec* source, chanrec* channel,std::string banmask) { return 0; }; +int Module::OnDelBan(userrec* source, chanrec* channel,std::string banmask) { return 0; }; // server is a wrapper class that provides methods to all of the C-style // exports in the core -- cgit v1.2.3