From 3cd71f1ee59649a6202e07bae486e15f3b2267f8 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 16 Apr 2005 14:50:28 +0000 Subject: Added extra parameter to OnRawMode in docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1110 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/man/man3/Module.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/man/man3/Module.3') diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3 index a36e96e73..515831256 100644 --- a/docs/man/man3/Module.3 +++ b/docs/man/man3/Module.3 @@ -1,4 +1,4 @@ -.TH "Module" 3 "15 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "Module" 3 "16 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -152,7 +152,7 @@ Inherits \fBclassbase\fP. .br .RI "\fICalled whenever a user is about to register their connection (e.g. \fP" .ti -1c -.RI "virtual int \fBOnRawMode\fP (\fBuserrec\fP *user, char mode, std::string param, bool adding, int pcnt)" +.RI "virtual int \fBOnRawMode\fP (\fBuserrec\fP *user, \fBchanrec\fP *chan, char mode, std::string param, bool adding, int pcnt)" .br .RI "\fICalled whenever a mode character is processed. \fP" .ti -1c @@ -392,7 +392,7 @@ Called whenever any command is about to be executed. This event occurs for all r .nf 335 { return 0; }; .fi -.SS "int Module::OnRawMode (\fBuserrec\fP * user, char mode, std::string param, bool adding, int pcnt)\fC [virtual]\fP" +.SS "int Module::OnRawMode (\fBuserrec\fP * user, \fBchanrec\fP * chan, char mode, std::string param, bool adding, int pcnt)\fC [virtual]\fP" .PP Called whenever a mode character is processed. Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED!Definition at line 340 of file modules.cpp. .PP -- cgit v1.2.3