mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 08:21:09 +01:00
Fix parameter counts for me_dline and me_undline.
This commit is contained in:
parent
364e59f82a
commit
b647efa045
1 changed files with 2 additions and 2 deletions
|
@ -52,12 +52,12 @@ static int me_undline(struct Client *, struct Client *, int, const char **);
|
||||||
|
|
||||||
struct Message dline_msgtab = {
|
struct Message dline_msgtab = {
|
||||||
"DLINE", 0, 0, 0, MFLG_SLOW,
|
"DLINE", 0, 0, 0, MFLG_SLOW,
|
||||||
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_dline, 3}, {mo_dline, 2}}
|
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_dline, 4}, {mo_dline, 2}}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Message undline_msgtab = {
|
struct Message undline_msgtab = {
|
||||||
"UNDLINE", 0, 0, 0, MFLG_SLOW,
|
"UNDLINE", 0, 0, 0, MFLG_SLOW,
|
||||||
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_undline, 1}, {mo_undline, 2}}
|
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_undline, 2}, {mo_undline, 2}}
|
||||||
};
|
};
|
||||||
|
|
||||||
mapi_clist_av1 dline_clist[] = { &dline_msgtab, &undline_msgtab, NULL };
|
mapi_clist_av1 dline_clist[] = { &dline_msgtab, &undline_msgtab, NULL };
|
||||||
|
|
Loading…
Reference in a new issue