diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-30 02:55:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-30 02:55:55 +0000 |
commit | c12ec889bb600626ecbd0cb903564f639ee55700 (patch) | |
tree | d0f7e0833f6aa48f4404f75335ca7c7fb4cad37e /src/modules.cpp | |
parent | e190c2ae913682fa5da83ccf53722289c3e7d77c (diff) |
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
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |