summaryrefslogtreecommitdiff
path: root/src/sessions.cpp
diff options
context:
space:
mode:
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)