From cdb16f35bef2e73b52d4ba402d5b07c890d14be8 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 10 Nov 2012 19:27:13 +0000 Subject: - minor MaskItem structure cleanup git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1649 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_testline.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/m_testline.c') diff --git a/modules/m_testline.c b/modules/m_testline.c index 674f9c7..f22b7b2 100644 --- a/modules/m_testline.c +++ b/modules/m_testline.c @@ -121,8 +121,8 @@ mo_testline(struct Client *client_p, struct Client *source_p, else sendto_one(source_p, form_str(RPL_TESTLINE), me.name, source_p->name, - conf->hold ? 'd' : 'D', - conf->hold ? ((conf->hold - CurrentTime) / 60) + conf->until ? 'd' : 'D', + conf->until ? ((conf->until - CurrentTime) / 60) : 0L, conf->host, conf->reason); } @@ -154,8 +154,8 @@ mo_testline(struct Client *client_p, struct Client *source_p, { sendto_one(source_p, form_str(RPL_TESTLINE), me.name, source_p->name, - conf->hold ? 'k' : 'K', - conf->hold ? ((conf->hold - CurrentTime) / 60) + conf->until ? 'k' : 'K', + conf->until ? ((conf->until - CurrentTime) / 60) : 0L, userhost, conf->reason? conf->reason : "No reason"); ++matches; -- cgit