summaryrefslogtreecommitdiff
path: root/docs/IRCD
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-27 06:10:08 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-27 06:10:08 +0000
commitf91057c662063d215296b92f3fcf59536fb85e4c (patch)
tree0065c0f85f3b16a7e0bfcba5f3c280964d23f3f9 /docs/IRCD
parent01f32cf2881f781fa934623361a146e55fcca8b6 (diff)
BUILD : 1.7.7 (556) BUGS : N/A NOTES : synced headers so our copyright is 2005, Solid IRCD compiles again, fixed sstrdup() error, updated the documentation a bit, cleaned up ratbox a bit.
git-svn-id: svn://svn.anope.org/anope/trunk@556 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@409 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'docs/IRCD')
-rw-r--r--docs/IRCD30
1 files changed, 26 insertions, 4 deletions
diff --git a/docs/IRCD b/docs/IRCD
index 27f329e2e..fa56ce77e 100644
--- a/docs/IRCD
+++ b/docs/IRCD
@@ -3,8 +3,9 @@ HOW TO ADD IRCD SUPPORT
1. Files to edit
2. Modifing the header file
3. The code
-4. Functions / Events
-5. CAPAB/PROTOCTL
+4. Modes
+5. Functions / Events
+6. CAPAB/PROTOCTL
=============================================================================================
@@ -326,6 +327,14 @@ usage of each.
77. SGline Enforce : the ircd enforces sglines for us we don't need to, 1 = yes 0 = no
+78. Vhost Character : the character used to represent the vhost mode
+
+79. TS6 : ircd supports TS6, 1 = yes 0 = no
+
+80. +h mode support, Helper Op mode supported by the ircd, 1 = yes 0 = no
+
+81. P10 : ircd is a P10 style of IRCD, 1 = yes 0 = no
+
IRCDCAPAB ircdcap[] = { }
This struct is based of the CAPAB defines, you should review the the CAPAB table
@@ -366,7 +375,20 @@ CAPAB_TLKEXT | 0x08000000 | TLKEXT | This allows 10 instead of 8 para
===================================================================================================
-4. FUNCTIONS AND EVENTS
+4. Modes
+
+ The next part that you come to is the user modes. You will want to have your .h file handy
+for this part as you being.
+
+unsigned long umodes[128] = { }
+
+ This starts from 0 to 127 in the ASCII character set. Insert the user modes at the slot
+where the mode fits. If you are adding a the user mode of +i find the 105 character slot in
+the array, and place the UMODE_i into this slot.
+
+===================================================================================================
+
+5. FUNCTIONS AND EVENTS
A brief word about functions and events. All events are captured via the
@@ -399,7 +421,7 @@ they may take any number of arguments, and come to a send_cmd() this root functi
commands are sent to the ircd.
-4. CAPAB/PROTOCTL
+6. CAPAB/PROTOCTL
Most IRCD send a CAPAB or PROTOCTL line so that they can work out what each is
capable of doing. Anope has a function to read these lines and set itself up