From 7a5c4e55991a8b884c1a2f4b00fd2e6f5297c0d6 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 6 Oct 2016 14:36:41 -0400 Subject: #1682: store aftype with masks and include cidrs in GetNUHMask --- include/modes.h | 1 + include/sockets.h | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/modes.h b/include/modes.h index e097f137e..706b0b716 100644 --- a/include/modes.h +++ b/include/modes.h @@ -352,6 +352,7 @@ class CoreExport Entry Anope::string mask; public: unsigned short cidr_len; + int family = 0; Anope::string nick, user, host, real; /** Constructor diff --git a/include/sockets.h b/include/sockets.h index ac6dc8cbc..afc335c4f 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -45,6 +45,10 @@ union CoreExport sockaddrs */ void clear(); + /** Get address family. + */ + int family() const; + /** Get the size of the sockaddr we represent * @return The size */ -- cgit