diff options
Diffstat (limited to 'modules/commands/os_session.h')
-rw-r--r-- | modules/commands/os_session.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/commands/os_session.h b/modules/commands/os_session.h index 67927410d..0d2cee9ad 100644 --- a/modules/commands/os_session.h +++ b/modules/commands/os_session.h @@ -1,6 +1,13 @@ #ifndef OS_SESSION_H #define OS_SESSION_H +struct Session +{ + Anope::string host; /* Host of the session */ + unsigned count; /* Number of clients with this host */ + unsigned hits; /* Number of subsequent kills for a host */ +}; + struct Exception : Serializable { Anope::string mask; /* Hosts to which this exception applies */ @@ -15,7 +22,6 @@ struct Exception : Serializable static void unserialize(serialized_data &data); }; - class SessionService : public Service { public: |