diff options
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; |