1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 13:43:14 +02:00

BUILD : 1.7.19 (1297) BUGS : N/A NOTES : In the last commit, I forgot to store the just resolved IP in common_unban() so we wont need to resolve the host again.

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1015 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
2007-08-31 21:19:50 +00:00
parent 57776f87e6
commit 5088cdcf99
2 changed files with 11 additions and 1 deletions
+5
View File
@@ -146,6 +146,11 @@ void common_unban(ChannelInfo * ci, char *nick)
if (u->hostip == NULL) {
host = host_resolve(u->host);
/* we store the just resolved hostname so we don't
* need to do this again */
if (host) {
u->hostip = sstrdup(host);
}
} else {
host = sstrdup(u->hostip);
}
+6 -1
View File
@@ -9,10 +9,15 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="19"
VERSION_EXTRA="-svn"
VERSION_BUILD="1296"
VERSION_BUILD="1297"
# $Log$
#
# BUILD : 1.7.19 (1297)
# BUGS : N/A
# NOTES : In the last commit, I forgot to store the just resolved IP in common_unban() so we wont need to
# resolve the host again.
#
# BUILD : 1.7.19 (1296)
# BUGS : N/A
# NOTES : Since we now have u->hostip, lets use it in common_unban()