1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 16:46:37 +02:00

Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCds

This commit is contained in:
Adam
2010-09-10 15:46:19 -04:00
parent 46813ccb8c
commit 9eb7562bee
21 changed files with 210 additions and 235 deletions
-8
View File
@@ -865,14 +865,6 @@ char *str_signed(unsigned char *str)
return nstr;
}
/* Equivalent to inet_ntoa */
void ntoa(struct in_addr addr, char *ipaddr, int len)
{
unsigned char *bytes = reinterpret_cast<unsigned char *>(&addr.s_addr);
snprintf(ipaddr, len, "%u.%u.%u.%u", bytes[0], bytes[1], bytes[2], bytes[3]);
}
/*
* strlcat and strlcpy were ripped from openssh 2.5.1p2
* They had the following Copyright info: