1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 17:23:14 +02:00

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
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-01-27 06:10:08 +00:00
parent 01f32cf288
commit f91057c662
99 changed files with 186 additions and 162 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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.
+26 -4
View File
@@ -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
+1 -1
View File
@@ -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>.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+10 -9
View File
@@ -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 invitemode; /* +I */
int sjoinbanchar; /* use single quotes to define it */
int sjoinexchar; /* use single quotes to define it */
int svsmode_ucmode; /* Can remove User Channel Modes with SVSMODE */
int sglineenforce;
char *vhostchar; /* char used for vhosting */
int ts6; /* ircd is TS6 */
int supporthelper; /* +h helper umodes */
int p10; /* ircd is P10 */
};
struct ircdcapab_ {
+1 -1
View File
@@ -1,6 +1,6 @@
/* Header for Services list handler.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Time-delay routine include stuff.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Ultimate IRCD 2 functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Ultimate IRCD 3.0 functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Unreal IRCD 3.1.x functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Unreal IRCD 3.2.x functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Viagra 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.
+1 -1
View File
@@ -1,6 +1,6 @@
# Catalan Language File.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
# Deutsches Language file.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
# United States English language file.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
# Spanish Language File.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
# French language file.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
# Greek language file.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
# Hungarian (magyar) language file.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Translated by:
+1 -1
View File
@@ -1,6 +1,6 @@
# Italian language file.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+6 -4
View File
@@ -1,12 +1,14 @@
/* Compiler for language definition files.
*
* Epona (c) 2000-2002 PegSoft
* Contact us at epona@pegsoft.net
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* This program is free but copyrighted software; see the file COPYING for
* details.
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
+1 -1
View File
@@ -1,6 +1,6 @@
# Dutch Language File
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -9,7 +9,7 @@
# Wersja serwisów/Anope version: 1.7.4
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
# Portuguese language file.
#
# (C) 2005 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+2 -2
View File
@@ -1,6 +1,6 @@
# Russian language file for Anope 1.5.10.
# Russian language file for Anope
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
# Turkish language file.
#
# (C) 2003 Anope Team
# (C) 2003-2005 Anope Team
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Various routines to perform simple actions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+2 -1
View File
@@ -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 further details.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
}
,
{NULL}
+1 -1
View File
@@ -1,6 +1,6 @@
/* base64 routines.
*
* (C) 2003 Anope Team
* (C) 2003-1005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Channel-handling routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Routines for looking up commands in a *Serv command list.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Compatibility routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Configuration file handling.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Database converters.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Database file handling routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+2 -1
View File
@@ -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 further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
}
,
{NULL}
+1 -1
View File
@@ -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 further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* HelpServ functions
*
* (C) 2003 Anope Team / GeniusDex
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* HostServ functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+2 -1
View File
@@ -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 further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
0, /* support helper umode */
0, /* p10 */
}
,
{NULL}
+1 -1
View File
@@ -1,6 +1,6 @@
/* Initalization and related routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Multi-language support.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Routines to handle `listnicks' and `listchans' invocations.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Logging routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Mail utility routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Services -- main source file.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Memory management routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* MemoServ functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Definitions of IRC message functions and list of messages.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/* Miscellaneous routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/* Modular support
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/* MySQL functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/* News functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/* NickServ functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* OperServ functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+2 -1
View File
@@ -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.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
"h", /* vhost char */
0, /* ts6 */
0, /* support helper umode */
0, /* p10 */
}
,
{NULL}
+1 -1
View File
@@ -1,6 +1,6 @@
/* Main processing code for Services.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Proxy detector.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+2 -1
View File
@@ -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 further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
}
,
{NULL}
+2 -1
View File
@@ -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 further details.
@@ -106,6 +106,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
},
{NULL}
};
+20 -45
View File
@@ -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.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
NULL, /* vhost char */
1, /* ts6 */
0, /* support helper umode */
0, /* p10 */
}
,
{NULL}
@@ -849,19 +850,9 @@ void anope_cmd_join(char *user, char *channel, time_t chantime)
{
Uid *ud;
if (UseTS6) {
ud = find_uid(user);
if (ud) {
send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
channel, ud->uid);
} else {
send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
channel, user);
}
} else {
send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
channel, user);
}
ud = find_uid(user);
send_cmd(NULL, "SJOIN %ld %s + :%s", (long int) time(NULL),
channel, (UseTS6 ? (ud ? ud->uid : user) : user));
}
/*
@@ -876,7 +867,12 @@ reason: the reason for the kline.
void anope_cmd_akill(char *user, char *host, char *who, time_t when,
time_t expires, char *reason)
{
send_cmd(s_OperServ, "KLINE * %ld %s %s :%s",
Uid *ud;
ud = find_uid(s_OperServ);
send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ),
"KLINE * %ld %s %s :%s",
(long int) (expires - (long) time(NULL)), user, host, reason);
}
@@ -901,17 +897,10 @@ void anope_cmd_svskill(char *source, char *user, const char *fmt, ...)
return;
}
if (UseTS6) {
ud = find_uid(source);
ud2 = find_uid(user);
if (ud && ud2) {
send_cmd(ud->uid, "KILL %s :%s", ud2->uid, buf);
} else {
send_cmd(source, "KILL %s :%s", user, buf);
}
} else {
send_cmd(source, "KILL %s :%s", user, buf);
}
ud = find_uid(source);
ud2 = find_uid(user);
send_cmd((UseTS6 ? (ud ? ud->uid : source) : source), "KILL %s :%s",
(UseTS6 ? (ud2 ? ud2->uid : user) : user), buf);
}
void anope_cmd_svsmode(User * u, int ac, char **av)
@@ -1113,17 +1102,10 @@ int anope_event_privmsg(char *source, int ac, char **av)
return MOD_CONT;
}
if (UseTS6) {
u = find_byuid(source);
ud = find_nickuid(av[0]);
if (u) {
m_privmsg(u->nick, (ud ? ud->nick : av[0]), av[1]);
} else {
m_privmsg(source, av[0], av[1]);
}
} else {
m_privmsg(source, av[0], av[1]);
}
u = find_byuid(source);
ud = find_nickuid(av[0]);
m_privmsg((UseTS6 ? (u ? u->nick : source) : source),
(UseTS6 ? (ud ? ud->nick : av[0]) : av[0]), av[1]);
return MOD_CONT;
}
@@ -1174,9 +1156,6 @@ int anope_event_sid(char *source, int ac, char **av)
/* :42X SID trystan.nomadirc.net 2 43X :ircd-ratbox test server */
/* do_server(const char *source, char *servername, char *hops,
char *descript, char *numeric) */
s = findserver_uid(servlist, source);
do_server(s->name, av[0], av[1], av[3], av[2]);
@@ -1201,11 +1180,7 @@ int anope_event_quit(char *source, int ac, char **av)
u = find_byuid(source);
if (UseTS6 && u) {
do_quit(u->nick, ac, av);
} else {
do_quit(source, ac, av);
}
do_quit((UseTS6 ? (u ? u->nick : source) : source), ac, av);
return MOD_CONT;
}
+1 -1
View File
@@ -1,6 +1,6 @@
/* RDB functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Routines for sending stuff to the network.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+6 -2
View File
@@ -1,6 +1,6 @@
/* Routines to maintain a list of connected servers
*
* (C) 2004 Anope Team / GeniusDex
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -98,7 +98,11 @@ Server *new_server(Server * uplink, const char *name, const char *desc,
serv->desc = sstrdup(desc);
serv->flags = flags;
serv->uplink = uplink;
serv->suid = sstrdup(suid);
if (suid) {
serv->suid = sstrdup(suid);
} else {
serv->suid = NULL;
}
serv->sync = -1;
serv->links = NULL;
serv->prev = NULL;
+1 -1
View File
@@ -1,6 +1,6 @@
/* Session Limiting functions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Services list handler implementation.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Socket utility routines.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+5 -2
View File
@@ -1,6 +1,6 @@
/* Solid-IRCD functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -105,6 +105,9 @@ IRCDVar ircd[] = {
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
"v", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
}
,
{NULL}
@@ -1567,7 +1570,7 @@ void anope_cmd_chg_nick(char *oldnick, char *newnick)
return;
}
send_cmd(oldnick, "NICK %s", newnick);
send_cmd(oldnick, "NICK %s :%ld", newnick, (long int) time(NULL));
}
int anope_event_error(char *source, int ac, char **av)
+1 -1
View File
@@ -1,6 +1,6 @@
/* Routines for time-delayed actions.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* smtp stuff handler for win32.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for furhter details.
+1 -1
View File
@@ -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.
+2 -1
View File
@@ -1,6 +1,6 @@
/* Ultimate IRCD 2 functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
}
,
{NULL}
+2 -1
View File
@@ -1,6 +1,6 @@
/* Ultimate IRCD 3 functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
},
{NULL}
};
+2 -1
View File
@@ -1,6 +1,6 @@
/* Unreal IRCD 3.1.x functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -108,6 +108,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
},
{NULL}
};
+2 -1
View File
@@ -1,6 +1,6 @@
/* Unreal IRCD 3.2.x functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -107,6 +107,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
},
{NULL}
};
+1 -1
View File
@@ -1,6 +1,6 @@
/* Routines to maintain a list of online users.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+3 -1
View File
@@ -1,6 +1,6 @@
/* Viagra IRCD functions
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
@@ -8,6 +8,7 @@
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
@@ -105,6 +106,7 @@ IRCDVar ircd[] = {
"x", /* vhost char */
0, /* ts6 */
1, /* support helper umode */
0, /* p10 */
}
,
{NULL}
+1 -1
View File
@@ -1,6 +1,6 @@
/* An implementation of vsnprintf() for systems that don't have it.
*
* (C) 2003 Anope Team
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
* Please read COPYING and README for further details.
+7 -2
View File
@@ -1,4 +1,4 @@
# (C) 2003 Anope
# (C) 2003-2005 Anope
# Contact us at info@anope.org
#
# Please read COPYING and README for furhter details.
@@ -8,10 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="7"
VERSION_BUILD="555"
VERSION_BUILD="556"
# $Log$
#
# 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.
#
# BUILD : 1.7.7 (555)
# BUGS : N/A
# NOTES : TS6 support, Ratbox support, lots of little bug fixes, updated documentation