summaryrefslogtreecommitdiff
path: root/docs/man/man3/Module.3
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-16 14:50:28 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-16 14:50:28 +0000
commit3cd71f1ee59649a6202e07bae486e15f3b2267f8 (patch)
tree940410c3cd869f27300ac0d9c6a55202a6807593 /docs/man/man3/Module.3
parent1def843ff4982953ee378659c315cbba4c3b733b (diff)
Added extra parameter to OnRawMode in docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1110 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/man/man3/Module.3')
-rw-r--r--docs/man/man3/Module.36
1 files changed, 3 insertions, 3 deletions
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