aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/command.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/command.c b/src/command.c
index 9d0d1bfef..9619355f6 100644
--- a/src/command.c
+++ b/src/command.c
@@ -192,12 +192,6 @@ check_bool(struct client *client, bool *value_r, const char *s)
return false;
}
- if (value > UINT_MAX) {
- command_error(client, ACK_ERROR_ARG,
- "Number too large: %s", s);
- return false;
- }
-
*value_r = !!value;
return true;
}