summaryrefslogtreecommitdiff
path: root/include/modules/os_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/os_session.h')
-rw-r--r--include/modules/os_session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules/os_session.h b/include/modules/os_session.h
index 5341b4fe0..7077b0985 100644
--- a/include/modules/os_session.h
+++ b/include/modules/os_session.h
@@ -8,7 +8,7 @@
#pragma once
-struct Session
+struct Session final
{
cidr addr; /* A cidr (sockaddrs + len) representing this session */
unsigned count = 1; /* Number of clients with this host */
@@ -17,7 +17,7 @@ struct Session
Session(const sockaddrs &ip, int len) : addr(ip, len) { }
};
-struct Exception
+struct Exception final
: Serializable
{
Anope::string mask; /* Hosts to which this exception applies */