authd, m_stats: fix command table sizes

There are 256 possible byte values.
This commit is contained in:
Mantas Mikulėnas 2016-03-09 18:15:42 +02:00
parent 6445c1cf0b
commit 6f39a80ec6
3 changed files with 7 additions and 7 deletions

View file

@ -133,7 +133,7 @@ static void stats_capability(struct Client *);
* C initalisers so we don't have to iterate anymore.
* --Elizafox
*/
static struct stats_cmd stats_cmd_table[255] = {
static struct stats_cmd stats_cmd_table[256] = {
/* letter function need_oper need_admin */
['a'] = { stats_dns_servers, 1, 1, },
['A'] = { stats_dns_servers, 1, 1, },