summaryrefslogtreecommitdiff
path: root/modules/m_testline.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-03-31 14:17:46 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-03-31 14:17:46 +0000
commite9eb37bc2d15eb06ed4e1f7c12c7220364714189 (patch)
tree372fc92de5387374385a6ad9ce0c54423369bc8c /modules/m_testline.c
parentd9ffa61844e2e8f8dd1790c2810039f438b8a994 (diff)
- KLINE, DLINE, SQUIT and KILL now make use of CONF_NOREASON as well
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1794 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 f22b7b2..c5a9686 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 : "No reason", "");
+ chptr->reason ? chptr->reason : CONF_NOREASON, "");
return;
}
}
@@ -157,7 +157,7 @@ mo_testline(struct Client *client_p, struct Client *source_p,
conf->until ? 'k' : 'K',
conf->until ? ((conf->until - CurrentTime) / 60)
: 0L,
- userhost, conf->reason? conf->reason : "No reason");
+ userhost, conf->reason? conf->reason : CONF_NOREASON);
++matches;
}
}
@@ -169,7 +169,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', 0L,
conf->name,
- conf->reason ? conf->reason : "No reason");;
+ conf->reason ? conf->reason : CONF_NOREASON);
++matches;
}