From c0f731e19d61a971af5cf26d073ccd25bfc5c91c Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Apr 2005 12:41:46 +0000 Subject: Added Server::AddGLine Added Server::AddKLine Added Server::AddZLine Added Server::AddQLine Added Server::AddELine Added Server::DelGLine Added Server::DelKLine Added Server::DelZLine Added Server::DelQLine Added Server::DelELine Added Server::Duration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1071 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classServer.html | 735 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 726 insertions(+), 9 deletions(-) (limited to 'docs/module-doc/classServer.html') diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 2efb4741e..afa949803 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -120,9 +120,48 @@ Inherits classbase.
-Definition at line 376 of file modules.h.
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Adds a E-line The E-line is enforced as soon as it is added. + +The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. + +Definition at line 638 of file modules.cpp. + +References add_eline(), and duration(). + + 00639 {
+00640 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00641 }
+ |
+
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. + +The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. + +Definition at line 618 of file modules.cpp. + +References add_gline(), and duration(). + + 00619 {
+00620 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00621 }
+ |
+
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Adds a K-line The K-line is enforced as soon as it is added. + +The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. + +Definition at line 633 of file modules.cpp. + +References add_kline(), and duration(). + + 00634 {
+00635 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00636 }
+ |
+
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. + +The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. + +Definition at line 623 of file modules.cpp. + +References add_qline(), and duration(). + + 00624 {
+00625 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
+00626 }
+ |
+
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. + +The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. + +Definition at line 628 of file modules.cpp. + +References add_zline(), and duration(). + + 00629 {
+00630 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+00631 }
+ |
+
+
+
|
+
| + + | +
+
+ +Calculates a duration This method will take a string containing a formatted duration (e.g. + +"1w2d") and return its value as a total number of seconds. This is the same function used internally by /GLINE etc to set the ban times. + +Definition at line 668 of file modules.cpp. + +References duration(). + + 00669 {
+00670 return duration(delta.c_str());
+00671 }
+ |
+
+
+
|
+
| + + | +
+
+ +Deletes a local E-Line. + + + +Definition at line 663 of file modules.cpp. + +References del_eline(). + + 00664 {
+00665 del_eline(hostmask.c_str());
+00666 }
+ |
+
+
+
|
+
| + + | +
+
+ +Deletes a G-Line from all servers on the mesh. + + + +Definition at line 643 of file modules.cpp. + +References del_gline(). + + 00644 {
+00645 del_gline(hostmask.c_str());
+00646 }
+ |
+
+
+
|
+
| + + | +
+
+ +Deletes a local K-Line. + + + +Definition at line 658 of file modules.cpp. + +References del_kline(). + + 00659 {
+00660 del_kline(hostmask.c_str());
+00661 }
+ |
+
+
+
|
+
| + + | +
+
+ +Deletes a Q-Line from all servers on the mesh. + + + +Definition at line 648 of file modules.cpp. + +References del_qline(). + + 00649 {
+00650 del_qline(nickname.c_str());
+00651 }
+ |
+
+
+
|
+
| + + | +
+
+ +Deletes a Z-Line from all servers on the mesh. + + + +Definition at line 653 of file modules.cpp. + +References del_zline(). + + 00654 {
+00655 del_zline(ipaddr.c_str());
+00656 }
+ |
+
+
+
The documentation for this class was generated from the following files: - Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by + Generated on Wed Apr 13 12:32:29 2005 for InspIRCd by
1.3.3
--
cgit v1.3.1-10-gc9f91
| |||||||||||||||||||||||||||||||||||||||