mirror of
https://github.com/anope/anope.git
synced 2026-07-05 05:33:13 +02:00
BUILD : 1.7.19 (1294) BUGS : N/A NOTES : in is_excepted() if we found the exception, break(). There is no point on continue exploring the array. Also, I forgot to free hostip in my previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@1294 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1012 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
cde740c02f
commit
d5a2079085
@@ -934,8 +934,10 @@ int is_excepted(ChannelInfo * ci, User * user)
|
||||
if (match_usermask(excepts[i], user)
|
||||
|| (hostip && match_userip(excepts[i], user, hostip))) {
|
||||
isexcepted = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
Anope_Free(hostip);
|
||||
free(excepts);
|
||||
return isexcepted;
|
||||
}
|
||||
|
||||
+6
-1
@@ -9,10 +9,15 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="19"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="1293"
|
||||
VERSION_BUILD="1294"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.19 (1294)
|
||||
# BUGS : N/A
|
||||
# NOTES : in is_excepted() if we found the exception, break(). There is no point on continue exploring the
|
||||
# array. Also, I forgot to free hostip in my previous commit.
|
||||
#
|
||||
# BUILD : 1.7.19 (1293)
|
||||
# BUGS : 778
|
||||
# NOTES : is_excepted() now uses match_userip() also.
|
||||
|
||||
Reference in New Issue
Block a user