summaryrefslogtreecommitdiff
path: root/modules/m_testline.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-01 13:36:31 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-01 13:36:31 +0000
commitee9e000bcb0f04ab320eb945c2870417db5c9e02 (patch)
tree0e8c34c5c8628a0db8332416b71e2e196be09181 /modules/m_testline.c
parent14e4df86a3b7fe2d717292cf3af86372767f5f6d (diff)
- 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
Diffstat (limited to 'modules/m_testline.c')
-rw-r--r--modules/m_testline.c6
1 files changed, 3 insertions, 3 deletions
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 : "<default>", "");
+ conf->class ? conf->class->name : "<default>");
++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]);