summaryrefslogtreecommitdiff
path: root/src/sessions.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-11 15:37:39 -0400
committerAdam <Adam@anope.org>2010-10-11 15:37:39 -0400
commit717c123441bb47a4fab859e8fb3ec8c6ac5b7223 (patch)
tree3be1a3376caafdd8ca9bf75d7acf98020cf94a7c /src/sessions.cpp
parent0ac77d0e42952765d2899565427ce92679142c17 (diff)
Fixed some warnings
Diffstat (limited to 'src/sessions.cpp')
-rw-r--r--src/sessions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessions.cpp b/src/sessions.cpp
index 38dfedef5..f13683050 100644
--- a/src/sessions.cpp
+++ b/src/sessions.cpp
@@ -255,7 +255,7 @@ Exception *find_hostip_exception(const Anope::string &host, const Anope::string
/************************ Exception Manipulation *************************/
/*************************************************************************/
-int exception_add(User *u, const Anope::string &mask, int limit, const Anope::string &reason, const Anope::string &who, time_t expires)
+int exception_add(User *u, const Anope::string &mask, unsigned limit, const Anope::string &reason, const Anope::string &who, time_t expires)
{
/* Check if an exception already exists for this mask */
for (std::vector<Exception *>::iterator it = exceptions.begin(), it_end = exceptions.end(); it != it_end; ++it)