mirror of
https://github.com/anope/anope.git
synced 2026-07-04 19:33:12 +02:00
BUILD : 1.7.6 (446) BUGS : N/A NOTES : 1. Added a debug message to do_kill(), 2. nsCheckNickTracking() could return true in some cases where the nick was forbidden
git-svn-id: svn://svn.anope.org/anope/trunk@446 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@300 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
848538fc00
commit
fd63b1d276
@@ -2,6 +2,10 @@ Anope Version S V N
|
||||
-------------------
|
||||
Provided by Anope Dev. <dev@anope.org> - 2004
|
||||
|
||||
Provided by Trystan <trystan@nomadirc.net> - 2004
|
||||
11/16 F NickTracking could allow usage of forbidden nick in some cases. [ #00]
|
||||
|
||||
|
||||
Anope Version 1.7.6
|
||||
-------------------
|
||||
Provided by Anope Dev. <dev@anope.org> - 2004
|
||||
|
||||
+7
-1
@@ -4296,8 +4296,14 @@ int nsCheckNickTracking(User * u)
|
||||
char *nick;
|
||||
|
||||
/* No nick alias or nick return false by default */
|
||||
if ((!(na = u->na)) || (!(nick = na->nick)))
|
||||
if ((!(na = u->na)) || (!(nick = na->nick))) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* nick is forbidden best return 0 */
|
||||
if (na->status & NS_VERBOTEN) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Get the core for the requested nick */
|
||||
nc = na->nc;
|
||||
|
||||
+4
-1
@@ -729,7 +729,10 @@ void do_kill(char *nick, char *msg)
|
||||
|
||||
user = finduser(nick);
|
||||
if (!user)
|
||||
return;
|
||||
if (debug) {
|
||||
alog("debug: KILL of nonexistent nick: %s", nick);
|
||||
}
|
||||
return;
|
||||
if (debug)
|
||||
alog("debug: %s killed", nick);
|
||||
if ((na = user->na) && (!(na->status & NS_VERBOTEN))
|
||||
|
||||
+6
-1
@@ -8,10 +8,15 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="6"
|
||||
VERSION_BUILD="445"
|
||||
VERSION_BUILD="446"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.6 (446)
|
||||
# BUGS : N/A
|
||||
# NOTES : 1. Added a debug message to do_kill(), 2. nsCheckNickTracking() could return true in some cases where the nick
|
||||
# was forbidden
|
||||
#
|
||||
# BUILD : 1.7.6 (445)
|
||||
# NOTES : Setup for devel.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user