From 59a2c6c2d96a4557cd885fefcbce97f490962692 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Apr 2004 20:16:43 +0000 Subject: Updated docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@411 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classModule.html | 207 +++++++++++++++++++++++++++++++-------- 1 file changed, 165 insertions(+), 42 deletions(-) (limited to 'docs/module-doc/classModule.html') diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 5e85deac7..8520f7bbc 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -52,8 +52,12 @@ Inheritance diagram for Module:
-
-
|
- ||||||||||||
| - - | -
-
- -Called whenever a /WHOIS is performed on a local user. - -The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising. |
-
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. + +Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. + +Definition at line 123 of file modules.cpp. + + 00123 { return 0; };
+ |
+
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Called whenever a user is about to NOTICE A user or a channel, before any processing is done. + +Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. + +Definition at line 124 of file modules.cpp. + + 00124 { return 0; };
+ |
+
+
+
|
+ ||||||||||||
| + + | +
+
+ +Called whenever a /WHOIS is performed on a local user. + +The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising. + +Definition at line 122 of file modules.cpp. + + 00122 { };
+ |
+
1.3-rc3
--
cgit v1.3.1-10-gc9f91