diff options
| author | Adam <Adam@anope.org> | 2016-10-06 14:36:41 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-10-06 14:36:41 -0400 |
| commit | 7a5c4e55991a8b884c1a2f4b00fd2e6f5297c0d6 (patch) | |
| tree | f5c4c6c61d22a0c04f82b9ad4813789526a48f82 /include | |
| parent | d280234e14974c7db1c243b8c30caa63d82bd396 (diff) | |
#1682: store aftype with masks and include cidrs in GetNUHMask
Diffstat (limited to 'include')
| -rw-r--r-- | include/modes.h | 1 | ||||
| -rw-r--r-- | include/sockets.h | 4 |
2 files changed, 5 insertions, 0 deletions
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 */ |
