1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 04:53:12 +02:00

BUILD : 1.7.9 (778) BUGS : N/A NOTES : inspircd fixs, debug output fix

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@538 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-05-05 20:53:54 +00:00
parent f7dd15d127
commit ac4c6f37b9
3 changed files with 14 additions and 8 deletions
+7 -6
View File
@@ -1104,7 +1104,7 @@ int anope_event_setname(char *source, int ac, char **av)
u = finduser(av[0]);
if (!u) {
if (debug) {
alog("debug: SETNAME for nonexistent user %s", source);
alog("user: SETNAME for nonexistent user %s", source);
}
return MOD_CONT;
}
@@ -1122,7 +1122,7 @@ int anope_event_chgname(char *source, int ac, char **av)
u = finduser(av[0]);
if (!u) {
if (debug) {
alog("debug: CHGNAME for nonexistent user %s", av[0]);
alog("user: CHGNAME for nonexistent user %s", av[0]);
}
return MOD_CONT;
}
@@ -1150,7 +1150,7 @@ int anope_event_sethost(char *source, int ac, char **av)
u = finduser(av[0]);
if (!u) {
if (debug) {
alog("debug: SETHOST for nonexistent user %s", source);
alog("user: SETHOST for nonexistent user %s", source);
}
return MOD_CONT;
}
@@ -1178,7 +1178,7 @@ int anope_event_nick(char *source, int ac, char **av)
// nick introductions (e.g. introductions for clients we already have). If this happens,
// we should ignore any that claim to be from us as these are just confirmations of the
// services "complement" - processing them will cause all kinds of session limit oddities.
if ((strcmp(av[7], ServerName)) || (finduser(av[1]))) {
if ((strcmp(av[7], ServerName)) && (!finduser(av[1]))) {
inet_aton(av[6], &addy);
user = do_nick(source, av[1], av[4], av[2], uplink, av[8],
strtoul(av[0], NULL, 10), 0, htonl(*ad), av[3],
@@ -1201,7 +1201,7 @@ int anope_event_chghost(char *source, int ac, char **av)
u = finduser(av[0]);
if (!u) {
if (debug) {
alog("debug: CHGHOST for nonexistent user %s", av[0]);
alog("user: CHGHOST for nonexistent user %s", av[0]);
}
return MOD_CONT;
}
@@ -1485,7 +1485,8 @@ int AnopeInit(int argc, char **argv)
{
moduleAddAuthor("Brain");
moduleAddVersion("$Id$");
moduleAddVersion
("$Id$");
moduleSetType(PROTOCOL);
pmodule_ircd_version("InspIRCd 1.0 Beta3");
+2 -1
View File
@@ -118,7 +118,8 @@ void update_host(User * user)
}
if (debug)
alog("debug: %s changes its host to %s", user->nick, user->host);
alog("debug: %s changes its host to %s", user->nick,
common_get_vhost(user));
}
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="9"
VERSION_BUILD="777"
VERSION_BUILD="778"
# $Log$
#
# BUILD : 1.7.9 (778)
# BUGS : N/A
# NOTES : inspircd fixs, debug output fix
#
# BUILD : 1.7.9 (777)
# BUGS : N/A
# NOTES : Synced with [brain]s cvs server