summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/users.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.c b/src/users.c
index f5c0c4160..e46c07d5a 100644
--- a/src/users.c
+++ b/src/users.c
@@ -934,8 +934,10 @@ int is_excepted(ChannelInfo * ci, User * user)
if (match_usermask(excepts[i], user)
|| (hostip && match_userip(excepts[i], user, hostip))) {
isexcepted = 1;
+ break;
}
}
+ Anope_Free(hostip);
free(excepts);
return isexcepted;
}