From 05e460e96cdd03f94587c0e0c5792c75d3dfa440 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Apr 2004 19:22:11 +0000 Subject: Added OnUserPreMessage and OnUserPreNotice events (not tested yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@407 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 caacd9afc..2065f4c6c 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -120,6 +120,8 @@ Version Module::GetVersion() { return Version(1,0,0,0); } void Module::OnOper(userrec* user) { }; void Module::OnInfo(userrec* user) { }; void Module::OnWhois(userrec* source, userrec* dest) { }; +int OnUserPreMessage(userrec* user,void* dest,int target_type, std::String text) { return 0; }; +int OnUserPreNotice(userrec* user,void* dest,int target_type, std::String text) { return 0; }; // server is a wrapper class that provides methods to all of the C-style // exports in the core -- cgit v1.2.3