summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/extern.h2
-rw-r--r--include/services.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/extern.h b/include/extern.h
index 9f2071a88..48336be5f 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -333,7 +333,7 @@ E std::vector<Exception *> exceptions;
E void get_session_stats(long &count, long &mem);
E void get_exception_stats(long &count, long &mem);
-E int add_session(const Anope::string &nick, const Anope::string &host, const Anope::string &hostip);
+E void add_session(const Anope::string &nick, const Anope::string &host, const Anope::string &hostip);
E void del_session(const Anope::string &host);
E void expire_exceptions();
diff --git a/include/services.h b/include/services.h
index 4702dcff1..f44425656 100644
--- a/include/services.h
+++ b/include/services.h
@@ -865,8 +865,8 @@ extern CoreExport session_map SessionList;
struct Session
{
Anope::string host;
- int count; /* Number of clients with this host */
- int hits; /* Number of subsequent kills for a host */
+ unsigned count; /* Number of clients with this host */
+ unsigned hits; /* Number of subsequent kills for a host */
};
/*************************************************************************/