summaryrefslogtreecommitdiff
path: root/include/sockets.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-19 13:35:52 -0400
committerAdam <Adam@anope.org>2013-09-19 13:35:52 -0400
commitb880240d727a4375522851daea0abf468f588a78 (patch)
tree8928bbbbbde4c0946cecd859feb5798cd4d79c53 /include/sockets.h
parent5ce90ba7d153f10b1cef876fd4201087be9964ff (diff)
Make os_session akill ip ranges and not individual user's ips
Diffstat (limited to 'include/sockets.h')
-rw-r--r--include/sockets.h3
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;