diff options
99 files changed, 186 insertions, 162 deletions
@@ -2,7 +2,7 @@ # # Configuration script for Services. # -# Anope (c) 2003 Anope team +# Anope (c) 2003-2005 Anope team # Contact us at dev@anope.org # # This program is free but copyrighted software; see the file COPYING for diff --git a/configure.in b/configure.in index cc9e62507..f5ae42728 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl autoconf.in for Services. dnl -dnl Anope (c) 2003 Anope team -dnl Contact us at anope@zero.org +dnl Anope (c) 2003-2005 Anope team +dnl Contact us at dev@anope.org dnl This program is free but copyrighted software; see the file COPYING for dnl details. @@ -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 diff --git a/docs/README b/docs/README index 040abf360..03a966ea6 100644 --- a/docs/README +++ b/docs/README @@ -1,7 +1,7 @@ Anope -- a set of IRC services for IRC networks =============================================== -Anope is 2003-2004 Anope Team <info@anope.org>. +Anope is 2003-2005 Anope Team <info@anope.org>. Based on Epona 2000-2002 PegSoft <epona@pegsoft.net>. Based on Services 1996-1999 Andrew Church <achurch@dragonfire.net>. diff --git a/include/bahamut.h b/include/bahamut.h index 691342a79..b49b064df 100644 --- a/include/bahamut.h +++ b/include/bahamut.h @@ -1,6 +1,6 @@ /* Bahamut functions * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/commands.h b/include/commands.h index 28226b14f..703842690 100644 --- a/include/commands.h +++ b/include/commands.h @@ -1,6 +1,6 @@ /* Declarations for command data. * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/config.h b/include/config.h index c260b72af..eb4eaf168 100644 --- a/include/config.h +++ b/include/config.h @@ -1,6 +1,6 @@ /* Services configuration. * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/datafiles.h b/include/datafiles.h index 568f8917f..32f168ca1 100644 --- a/include/datafiles.h +++ b/include/datafiles.h @@ -1,6 +1,6 @@ /* Database file descriptor structure and file handling routine prototypes. * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/defs.h b/include/defs.h index c2993d270..7afa5d45b 100644 --- a/include/defs.h +++ b/include/defs.h @@ -1,6 +1,6 @@ /* Set default values for any constants that should be in include files but * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/depricated.h b/include/depricated.h index 0966a073e..4946aa907 100644 --- a/include/depricated.h +++ b/include/depricated.h @@ -1,6 +1,6 @@ /* depricated.h * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/dreamforge.h b/include/dreamforge.h index 414e0639c..f3ed0858c 100644 --- a/include/dreamforge.h +++ b/include/dreamforge.h @@ -1,6 +1,6 @@ /* DreamForge IRCD functions * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/encrypt.h b/include/encrypt.h index e31e44ea7..e786fd1de 100644 --- a/include/encrypt.h +++ b/include/encrypt.h @@ -1,6 +1,6 @@ /* Include file for high-level encryption routines. * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/extern.h b/include/extern.h index 0fb04b781..410236363 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1,6 +1,6 @@ /* Prototypes and external variable declarations. * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/hybrid.h b/include/hybrid.h index 74c69c3a1..e74807dfc 100644 --- a/include/hybrid.h +++ b/include/hybrid.h @@ -1,6 +1,6 @@ /* Hybrid IRCD functions * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/messages.h b/include/messages.h index f1de39648..d966131d9 100644 --- a/include/messages.h +++ b/include/messages.h @@ -1,6 +1,6 @@ /* Declarations of IRC message structures, variables, and functions. * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/modules.h b/include/modules.h index c05d86151..2a3025586 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1,6 +1,6 @@ /* Modular support * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/plexus.h b/include/plexus.h index 7d83d9bd2..d1c3eac5e 100644 --- a/include/plexus.h +++ b/include/plexus.h @@ -1,6 +1,6 @@ /* PlexusIRCD IRCD functions * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/pseudo.h b/include/pseudo.h index f543d8a6c..09c7b6f4c 100644 --- a/include/pseudo.h +++ b/include/pseudo.h @@ -1,6 +1,6 @@ /* Include extra includes needed by most/all pseudo-clients. * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/ptlink.h b/include/ptlink.h index e97c59a0c..66b34e988 100644 --- a/include/ptlink.h +++ b/include/ptlink.h @@ -1,6 +1,6 @@ /* PTLink IRCD functions * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/rageircd.h b/include/rageircd.h index 977f5adfd..74ae926d8 100644 --- a/include/rageircd.h +++ b/include/rageircd.h @@ -1,6 +1,6 @@ /* Rage IRCD functions * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/ratbox.h b/include/ratbox.h index 28eb9b9d7..12236e6dc 100644 --- a/include/ratbox.h +++ b/include/ratbox.h @@ -1,6 +1,6 @@ /* Ratbox IRCD functions * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. diff --git a/include/services.h b/include/services.h index c827ba418..4523e2e34 100644 --- a/include/services.h +++ b/include/services.h @@ -1,6 +1,6 @@ /* * - * (C) 2003 Anope Team + * (C) 2003-2005 Anope Team * Contact us at info@anope.org * * Please read COPYING and README for furhter details. @@ -240,9 +240,9 @@ struct ircdvars_ { int vident; /* Supports vidents */ int svshold; /* Supports svshold */ int tsonmode; /* Timestamp on mode changes */ - int nickip; /* Sends IP on NICK */ - int omode; /* On the fly o:lines */ - int umode; /* change user modes */ + int nickip; /* Sends IP on NICK */ + int omode; /* On the fly o:lines */ + int umode; /* change user modes */ int nickvhost; /* Users vhost sent during NICK */ int chgreal; /* Change RealName */ int extrahelp; /* Lang file entry for extra */ @@ -257,17 +257,18 @@ struct ircdvars_ { int check_nick_id; /* On nick change check if they could be identified */ int knock_needs_i; /* Check if we needed +i when setting NOKNOCK */ char *chanmodes; /* If the ircd sends CHANMODE in CAPAB this is where we store it */ - int token; /* Does Anope support the tokens for the ircd */ + int token; /* Does Anope support the tokens for the ircd */ int tokencaseless; /* TOKEN are not case senstive - most its Unreal that is case senstive */ - int sjb64; /* Base 64 encode TIMESTAMP */ - int invitemode; /* +I */ - int sjoinbanchar; /* use single quotes to define it */ - int sjoinexchar; /* use single quotes to define it */ + int sjb64; /* Base 64 encode TIMESTAMP */ + int invitemo |
