1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 19:13:12 +02:00

Fixed some warnings

This commit is contained in:
Adam
2010-10-11 15:37:39 -04:00
parent 0ac77d0e42
commit 717c123441
16 changed files with 64 additions and 62 deletions
+1 -1
View File
@@ -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)