From 07c6999de2beb1a7bab172ecd1f3a27ca6ec8ca4 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Apr 2004 01:04:54 +0000 Subject: Changed documentation to match change in OnExtendedMode with a void* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@384 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classModule.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/module-doc/classModule.html') diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 3f7a50405..a055fef1e 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -44,7 +44,7 @@ Inheritance diagram for Module:



virtual void OnServerRaw (std::string &raw, bool inbound)  Called when a raw command is transmitted or received.

-virtual bool OnExtendedMode (userrec *user, chanrec *chan, char modechar, int type, bool mode_on, string_list &params) +virtual bool OnExtendedMode (userrec *user, void *target, char modechar, int type, bool mode_on, string_list &params)  Called whenever an extended mode is to be processed.

virtual int Module::OnUserPreJoin (userrec *user, chanrec *chan, char *cname)  Called whenever a user is about to join a channel, before any processing is done.

@@ -225,8 +225,8 @@ If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be - chanrec *  -   chan, + void *  +   target, @@ -272,7 +272,7 @@ If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be

Called whenever an extended mode is to be processed.

-The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with Server::AddExtendedMode If the mode is not a channel mode, chanrec* chan is null, and should not be read from or written to. +The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with Server::AddExtendedMode If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.

Definition at line 118 of file modules.cpp.

@@ -596,7 +596,7 @@ Definition at line 110


The documentation for this class was generated from the following files: -
Generated on Sun Apr 4 23:02:29 2004 for InspIRCd by +
Generated on Mon Apr 5 02:04:07 2004 for InspIRCd by doxygen1.3-rc3
-- cgit v1.3.1-10-gc9f91