diff --git a/src/user.c b/src/user.c index f01a8e2d0..6848e5dd3 100644 --- a/src/user.c +++ b/src/user.c @@ -969,9 +969,6 @@ int flood_limit_exceeded(Client *client, FloodOption opt) if (!MyUser(client)) return 0; - if ((opt < 0) || (opt >= MAXFLOODOPTIONS)) - abort(); - f = get_floodsettings_for_user(client, opt); if (f->limit[opt] <= 0) return 0; /* No limit set or unlimited */