mirror of
https://github.com/anope/anope.git
synced 2026-07-08 02:03:13 +02:00
BUILD : 1.7.7 (557) BUGS : N/A NOTES : Should fix gcc2 compiler warnings with ratbox
git-svn-id: svn://svn.anope.org/anope/trunk@557 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@410 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
f91057c662
commit
7193a60506
+10
-10
@@ -606,23 +606,21 @@ int anope_event_sjoin(char *source, int ac, char **av)
|
||||
int anope_event_nick(char *source, int ac, char **av)
|
||||
{
|
||||
Server *s;
|
||||
User *u;
|
||||
User *user;
|
||||
|
||||
if (UseTS6 && ac == 9) {
|
||||
s = findserver_uid(servlist, source);
|
||||
/* Source is always the server */
|
||||
*source = '\0';
|
||||
User *user = do_nick(source, av[0], av[4], av[5], s->name, av[8],
|
||||
strtoul(av[2], NULL, 10),
|
||||
0, 0, "*", av[7]);
|
||||
user = do_nick(source, av[0], av[4], av[5], s->name, av[8],
|
||||
strtoul(av[2], NULL, 10), 0, 0, "*", av[7]);
|
||||
if (user) {
|
||||
anope_set_umode(user, 1, &av[3]);
|
||||
}
|
||||
} else {
|
||||
if (ac != 2) {
|
||||
User *user = do_nick(source, av[0], av[4], av[5], av[6], av[7],
|
||||
strtoul(av[2], NULL, 10),
|
||||
0, 0, "*", NULL);
|
||||
user = do_nick(source, av[0], av[4], av[5], av[6], av[7],
|
||||
strtoul(av[2], NULL, 10), 0, 0, "*", NULL);
|
||||
if (user)
|
||||
anope_set_umode(user, 1, &av[3]);
|
||||
} else {
|
||||
@@ -679,6 +677,7 @@ int anope_event_topic(char *source, int ac, char **av)
|
||||
int anope_event_tburst(char *source, int ac, char **av)
|
||||
{
|
||||
char *setter;
|
||||
Channel *c;
|
||||
|
||||
if (ac != 4) {
|
||||
return MOD_CONT;
|
||||
@@ -686,7 +685,7 @@ int anope_event_tburst(char *source, int ac, char **av)
|
||||
|
||||
setter = myStrGetToken(av[2], '!', 0);
|
||||
|
||||
Channel *c = findchan(av[0]);
|
||||
c = findchan(av[0]);
|
||||
time_t topic_time = strtol(av[1], NULL, 10);
|
||||
|
||||
if (!c) {
|
||||
@@ -723,10 +722,11 @@ int anope_event_436(char *source, int ac, char **av)
|
||||
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
void moduleAddIRCDMsgs(void) {
|
||||
void moduleAddIRCDMsgs(void)
|
||||
{
|
||||
Message *m;
|
||||
|
||||
char buf[BUFSIZE];
|
||||
|
||||
*buf = '\0';
|
||||
|
||||
if (UseTS6) {
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="7"
|
||||
VERSION_BUILD="556"
|
||||
VERSION_BUILD="557"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.7 (557)
|
||||
# BUGS : N/A
|
||||
# NOTES : Should fix gcc2 compiler warnings with ratbox
|
||||
#
|
||||
# BUILD : 1.7.7 (556)
|
||||
# BUGS : N/A
|
||||
# NOTES : synced headers so our copyright is 2005, Solid IRCD compiles again, fixed sstrdup() error,
|
||||
|
||||
Reference in New Issue
Block a user