diff options
author | Adam <Adam@anope.org> | 2012-02-14 15:13:27 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-14 15:13:27 -0500 |
commit | a9772cde21407c89abd161d51aff45267f87b1fb (patch) | |
tree | 9e57ba6c121d3843888917d968dd4f5d030b57cf /modules/commands/os_session.h | |
parent | 086790d6331357022f4da17c76b26b9fc6e2ad90 (diff) |
Clean up and reorganize our header files
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: |