diff options
author | Adam <Adam@anope.org> | 2012-09-07 12:04:25 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-09-07 12:04:25 -0400 |
commit | 9d6626f70ce866e2e98ce7ce607695b14a8375b7 (patch) | |
tree | f9cf4e1bb295d4707be097898c4544101fcd7340 /include/sockets.h | |
parent | 5c07863ad503edfc8deb1dee38e6222602db54fd (diff) |
Made session tracking ip based, not host based, and allow using CIDR to group multiple ips from one subnet to one session
Diffstat (limited to 'include/sockets.h')
-rw-r--r-- | include/sockets.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sockets.h b/include/sockets.h index 8b669bbde..6b1fca441 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -90,6 +90,7 @@ class CoreExport cidr cidr(const Anope::string &ip, unsigned char len); Anope::string mask() const; bool match(sockaddrs &other); + bool operator<(const cidr &other) const; }; class SocketException : public CoreException |