From b647efa045322cda207b2de1a28faf8713425084 Mon Sep 17 00:00:00 2001 From: Keith Buck Date: Mon, 23 Sep 2013 09:34:30 +0000 Subject: [PATCH] Fix parameter counts for me_dline and me_undline. --- modules/m_dline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/m_dline.c b/modules/m_dline.c index 1330a123..f67b0058 100644 --- a/modules/m_dline.c +++ b/modules/m_dline.c @@ -52,12 +52,12 @@ static int me_undline(struct Client *, struct Client *, int, const char **); struct Message dline_msgtab = { "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 = { "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 };