diff options
author | Adam <Adam@anope.org> | 2010-09-10 15:46:19 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-10 15:46:19 -0400 |
commit | 9eb7562bee7f2a52cf91b0ab0ebc10351f2a46f2 (patch) | |
tree | 1dcc4928486a08643af70f69f094ab44c41642e5 /src/misc.cpp | |
parent | 46813ccb8c6ab572b8a9ff0a39afb1d92dc4482b (diff) |
Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCds
Diffstat (limited to 'src/misc.cpp')
-rw-r--r-- | src/misc.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index 05240b77e..d77ed4d91 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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: |