1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 10:06:37 +02:00

BUILD : 1.7.10 (832) BUGS : NOTES : Updated Italian langfile and removed some leftovers of userban stuff

git-svn-id: svn://svn.anope.org/anope/trunk@832 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@585 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-06-25 20:58:45 +00:00
parent 2ea6359a1a
commit c638cd622d
10 changed files with 397 additions and 562 deletions
+3
View File
@@ -19,6 +19,9 @@ Provided by Ricardo <ricardoltdb@gmail.com> - 2005
Provided by Trystan <trystan@nomadirc.net> - 2005
06/04 F Removed ircd-file related code from configure(.in) [#384]
Provided by Hal9000 <hal9000@musichat.net> - 2005
06/25 F Updated Italian language file. [ #00]
Anope Version 1.7.10
--------------------
Provided by Anope Dev. <dev@anope.org> - 2005
-14
View File
@@ -1058,20 +1058,6 @@ E int sockprintf(ano_socket_t s, char *fmt, ...);
E int conn(const char *host, int port, const char *lhost, int lport);
E void disconn(ano_socket_t s);
/**** userban.c ****/
E uint32 cidr_to_netmask(uint16 cidr);
E uint16 netmask_to_cidr(uint32 mask);
E BanInfo *ban_create(char *mask, uint32 id);
E int ban_match(BanInfo *ban, char *user, char *host, uint32 ip);
E int ban_match_mask(BanInfo *ban, char *mask, uint32 ip);
E int ban_add(BanList *bl, char *mask);
E void ban_del(BanList *bl, BanInfo *ban);
E BanList *banlist_create(int hashed);
E int banlist_match(BanList *bl, char *user, char *host, uint32 ip);
E int banlist_match_mask(BanList *bl, char *mask, uint32 ip);
E BanInfo *banlist_lookup_id(BanList *bl, uint32 id);
/**** users.c ****/
E User *userlist[1024];
+332 -499
View File
File diff suppressed because it is too large Load Diff
+2 -3
View File
@@ -3,12 +3,12 @@ RDB_OBJ = $(RDB:.c=.o)
OBJS = actions.o base64.o botserv.o channels.o chanserv.o commands.o compat.o \
config.o datafiles.o encrypt.o events.o helpserv.o hostserv.o init.o ircd.o language.o list.o log.o mail.o main.o \
memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o \
process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o userban.o users.o \
process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o users.o \
$(VSNPRINTF_O) $(RDB_OBJ) $(MYSQL_OBJ)
SRCS = actions.c base64.c botserv.c channels.c chanserv.c commands.c compat.c \
config.c datafiles.c encrypt.c events.c helpserv.c hostserv.c init.c ircd.c language.c list.c log.c mail.c main.c \
memory.c memoserv.c messages.c misc.c modules.c news.c nickserv.c operserv.c \
process.c send.c servers.c sessions.c slist.c sockutil.c timeout.c userban.c users.c \
process.c send.c servers.c sessions.c slist.c sockutil.c timeout.c users.c \
$(VSNPRINTF_C) $(RDB) $(MYSQL)
INCLUDES = ../include/commands.h ../include/defs.h ../include/language.h \
@@ -71,7 +71,6 @@ sessions.o: sessions.c $(INCLUDES)
slist.o: slist.c $(INCLUDES)
sockutil.o: sockutil.c $(INCLUDES)
timeout.o: timeout.c $(INCLUDES)
userban.o: userban.c $(INCLUDES)
users.o: users.c $(INCLUDES)
vsnprintf.o: vsnprintf.c $(INCLUDES)
mysql.o: mysql.c $(INCLUDES)
+33 -30
View File
@@ -19,37 +19,37 @@
#ifdef _WIN32
#include "winsock.h"
int inet_aton (const char *name, struct in_addr *addr)
int inet_aton(const char *name, struct in_addr *addr)
{
uint32 a = inet_addr (name);
addr->s_addr = a;
return a != (uint32)-1;
uint32 a = inet_addr(name);
addr->s_addr = a;
return a != (uint32) - 1;
}
#endif
IRCDVar myIrcd[] = {
{"InspIRCd 1.0 Beta", /* ircd name */
"+o", /* nickserv mode */
"+o", /* chanserv mode */
"+o", /* memoserv mode */
"+o", /* hostserv mode */
"+io", /* operserv mode */
"+o", /* botserv mode */
"+o", /* helpserv mode */
"+i", /* Dev/Null mode */
"+io", /* Global mode */
"+o", /* nickserv alias mode */
"+o", /* chanserv alias mode */
"+o", /* memoserv alias mode */
"+io", /* hostserv alias mode */
"+io", /* operserv alias mode */
"+o", /* botserv alias mode */
"+o", /* helpserv alias mode */
"+i", /* Dev/Null alias mode */
"+io", /* Global alias mode */
"+i", /* Used by BotServ Bots */
"+o", /* nickserv mode */
"+o", /* chanserv mode */
"+o", /* memoserv mode */
"+o", /* hostserv mode */
"+io", /* operserv mode */
"+o", /* botserv mode */
"+o", /* helpserv mode */
"+i", /* Dev/Null mode */
"+io", /* Global mode */
"+o", /* nickserv alias mode */
"+o", /* chanserv alias mode */
"+o", /* memoserv alias mode */
"+io", /* hostserv alias mode */
"+io", /* operserv alias mode */
"+o", /* botserv alias mode */
"+o", /* helpserv alias mode */
"+i", /* Dev/Null alias mode */
"+io", /* Global alias mode */
"+i", /* Used by BotServ Bots */
5, /* Chan Max Symbols */
"-cilmnpstuzCGKNOQRSV", /* Modes to Remove */
"-cilmnpstuzCGKNOQRSV", /* Modes to Remove */
"+ao", /* Channel Umode used by Botserv bots */
1, /* SVSNICK */
1, /* Vhost */
@@ -114,7 +114,8 @@ IRCDVar myIrcd[] = {
0, /* p10 */
NULL, /* character set */
1, /* reports sync state */
},
}
,
{NULL}
};
@@ -401,7 +402,9 @@ void inspircd_set_umode(User * user, int ac, char **av)
if (add) {
opcnt++;
if (WallOper) {
anope_cmd_global(s_OperServ, "\2%s\2 is now an IRC operator.", user->nick);
anope_cmd_global(s_OperServ,
"\2%s\2 is now an IRC operator.",
user->nick);
}
display_news(user, NEWS_OPER);
} else {
@@ -424,10 +427,10 @@ void inspircd_set_umode(User * user, int ac, char **av)
/* Set mod_current_buffer from here */
void inspircd_set_mod_current_buffer(int ac, char **av)
{
if (ac >= 3)
mod_current_buffer = sstrdup(av[2]);
else
mod_current_buffer = NULL;
if (ac >= 3)
mod_current_buffer = sstrdup(av[2]);
else
mod_current_buffer = NULL;
}
int anope_event_nickchange(char *source, int ac, char **av);
+2
View File
@@ -1,3 +1,4 @@
/*PlexusIRCD IRCD functions
/*PlexusIRCD IRCD functions
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
@@ -1815,3 +1816,4 @@ AnopeInit (int argc, char **argv)
}
+2
View File
@@ -1,3 +1,4 @@
/* PTLink IRCD functions
/* PTLink IRCD functions
*
* (C) 2003-2005 Anope Team
@@ -1716,3 +1717,4 @@ int AnopeInit(int argc, char **argv)
return MOD_CONT;
}
+13 -11
View File
@@ -1,3 +1,4 @@
/* Rage IRCD functions
/* Rage IRCD functions
*
* (C) 2003-2005 Anope Team
@@ -561,7 +562,6 @@ void moduleAddIRCDMsgs(void) {
}
/* *INDENT-ON* */
int anope_event_error(char *source, int ac, char **av)
{
if (ac >= 1) {
@@ -579,16 +579,18 @@ int anope_event_burst(char *source, int ac, char **av)
s = findserver(servlist, source);
if (ac > 1) {
/* for future use - start burst */
} else {
/* If we found a server with the given source, that one just
* finished bursting. If there was no source, then our uplink
* server finished bursting. -GD
*/
if (!s && serv_uplink)
s = serv_uplink;
finish_sync(s, 1);
}
return MOD_CONT;
} else {
/* If we found a server with the given source, that one just
* finished bursting. If there was no source, then our uplink
* server finished bursting. -GD
*/
if (!s && serv_uplink)
s = serv_uplink;
finish_sync(s, 1);
}
return MOD_CONT;
}
void rageircd_cmd_sqline(char *mask, char *reason)
+5 -4
View File
@@ -1600,9 +1600,9 @@ int anope_event_burst(char *source, int ac, char **av)
* finished bursting. If there was no source, then our uplink
* server finished bursting. -GD
*/
if (!s && serv_uplink)
s = serv_uplink;
finish_sync(s, 1);
if (!s && serv_uplink)
s = serv_uplink;
finish_sync(s, 1);
}
return MOD_CONT;
}
@@ -1765,7 +1765,8 @@ int AnopeInit(int argc, char **argv)
{
moduleAddAuthor("Anope");
moduleAddVersion("$Id$");
moduleAddVersion
("$Id$");
moduleSetType(PROTOCOL);
pmodule_ircd_version("UltimateIRCd 3.0.0.a26+");
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="10"
VERSION_BUILD="831"
VERSION_BUILD="832"
# $Log$
#
# BUILD : 1.7.10 (832)
# BUGS :
# NOTES : Updated Italian langfile and removed some leftovers of userban stuff
#
# BUILD : 1.7.10 (831)
# BUGS :
# NOTES : Removing userban code for now