1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 04:03:12 +02:00

Remove this check due to clang complaining. Whatever.

This commit is contained in:
Bram Matthys
2021-05-30 19:11:50 +02:00
parent 5acef88ceb
commit 6358a2e5ff
-3
View File
@@ -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 */