summaryrefslogtreecommitdiff
path: root/include/sockets.h
diff options
context:
space:
mode:
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;