From 0afad3dfbca96a60bd14535cb93f27097417b933 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 Mar 2005 18:46:29 +0000 Subject: Made config parsing code a bit more lenient Added error checking to make sure opertypes exist before opering a user! Added 005 handling for modules Started on KILL event for modules Started on OnModuleLoad event for modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@918 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index ac47544c0..fff5f1c7b 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -324,6 +324,9 @@ int Module::OnUserPreNick(userrec* user, std::string newnick) { return 0; }; int Module::OnAccessCheck(userrec* source,userrec* dest,chanrec* channel,int access_type) { return ACR_DEFAULT; }; string_list Module::OnUserSync(userrec* user) { string_list empty; return empty; } string_list Module::OnChannelSync(chanrec* chan) { string_list empty; return empty; } +void Module::On005Numeric(std::string &output) { }; +int Module::OnKill(userrec* source, userrec* dest, std::string reason) { return 0; }; +void Module::OnLoadModule(Module* mod,std::string name) { }; // server is a wrapper class that provides methods to all of the C-style -- cgit v1.3.1-10-gc9f91