diff options
author | Adam <Adam@anope.org> | 2013-09-19 13:35:52 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-19 13:35:52 -0400 |
commit | b880240d727a4375522851daea0abf468f588a78 (patch) | |
tree | 8928bbbbbde4c0946cecd859feb5798cd4d79c53 /include/sockets.h | |
parent | 5ce90ba7d153f10b1cef876fd4201087be9964ff (diff) |
Make os_session akill ip ranges and not individual user's ips
Diffstat (limited to 'include/sockets.h')
-rw-r--r-- | include/sockets.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sockets.h b/include/sockets.h index 8b7b78a7f..93afe2ec5 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -54,6 +54,9 @@ union CoreExport sockaddrs */ Anope::string addr() const; + /* Is this address ipv6? */ + bool ipv6() const; + /** Check if this sockaddr has data in it */ bool operator()() const; |