cmdmon: use char for permissions table

This commit is contained in:
Miroslav Lichvar 2014-09-24 16:58:16 +02:00
parent b7e86192ee
commit 2575fa8f83

View file

@ -110,7 +110,7 @@ static ResponseCell *free_replies;
/* ================================================== */
/* Array of permission levels for command types */
static int permissions[] = {
static const char permissions[] = {
PERMIT_OPEN, /* NULL */
PERMIT_AUTH, /* ONLINE */
PERMIT_AUTH, /* OFFLINE */