summaryrefslogtreecommitdiff
path: root/modules/commands/os_session.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-14 15:13:27 -0500
committerAdam <Adam@anope.org>2012-02-14 15:13:27 -0500
commita9772cde21407c89abd161d51aff45267f87b1fb (patch)
tree9e57ba6c121d3843888917d968dd4f5d030b57cf /modules/commands/os_session.h
parent086790d6331357022f4da17c76b26b9fc6e2ad90 (diff)
Clean up and reorganize our header files
Diffstat (limited to 'modules/commands/os_session.h')
-rw-r--r--modules/commands/os_session.h8
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: