authd, m_stats: fix command table sizes
There are 256 possible byte values.
This commit is contained in:
parent
6445c1cf0b
commit
6f39a80ec6
3 changed files with 7 additions and 7 deletions
|
@ -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, },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue