diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-11-10 19:27:13 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-11-10 19:27:13 +0000 |
commit | cdb16f35bef2e73b52d4ba402d5b07c890d14be8 (patch) | |
tree | 0037ea63a03b198a84ca147296b8f7c8ca2f0838 /modules/m_testline.c | |
parent | 068f769876940baf8e76c9597e8ee5c0f73c48bc (diff) |
- minor MaskItem structure cleanup
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1649 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_testline.c')
-rw-r--r-- | modules/m_testline.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |