1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 09:06:38 +02:00

Don't enforce session limit on clients with no IP on Unreal, fix typo in /cs down syntax, fix os_session messages to reference ip

This commit is contained in:
Adam
2013-02-25 00:26:49 -05:00
parent 5d4db2b854
commit 8561941e22
5 changed files with 22 additions and 13 deletions
+5
View File
@@ -148,6 +148,11 @@ void sockaddrs::pton(int type, const Anope::string &address, int pport)
void sockaddrs::ntop(int type, const void *src)
{
char buf[INET6_ADDRSTRLEN];
if (inet_ntop(type, src, buf, sizeof(buf)) != buf)
throw SocketException("Invalid addr");
switch (type)
{
case AF_INET: