From ee9e000bcb0f04ab320eb945c2870417db5c9e02 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 1 Apr 2013 13:36:31 +0000 Subject: - Minor fixes to mo_testline (too many arguments passed to sendto_one) git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1806 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_testline.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/m_testline.c') diff --git a/modules/m_testline.c b/modules/m_testline.c index c5a9686..b79665c 100644 --- a/modules/m_testline.c +++ b/modules/m_testline.c @@ -82,7 +82,7 @@ mo_testline(struct Client *client_p, struct Client *source_p, { sendto_one(source_p, form_str(RPL_TESTLINE), me.name, source_p->name, 'Q', 0, chptr->name, - chptr->reason ? chptr->reason : CONF_NOREASON, ""); + chptr->reason ? chptr->reason : CONF_NOREASON); return; } } @@ -147,7 +147,7 @@ mo_testline(struct Client *client_p, struct Client *source_p, { sendto_one(source_p, form_str(RPL_TESTLINE), me.name, source_p->name, 'I', 0L, userhost, - conf->class ? conf->class->name : "", ""); + conf->class ? conf->class->name : ""); ++matches; } else if (conf->type == CONF_KLINE) @@ -207,7 +207,7 @@ mo_testgecos(struct Client *client_p, struct Client *source_p, if ((conf = find_matching_name_conf(CONF_XLINE, parv[1], NULL, NULL, 0))) sendto_one(source_p, form_str(RPL_TESTLINE), me.name, source_p->name, 'X', 0L, - conf->name, conf->reason ? conf->reason : "X-lined"); + conf->name, conf->reason ? conf->reason : CONF_NOREASON); else sendto_one(source_p, form_str(RPL_NOTESTLINE), me.name, source_p->name, parv[1]); -- cgit