1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 21:23:13 +02:00

Allow configuring killquick and kill delays

This commit is contained in:
Adam
2012-09-07 08:46:28 -04:00
parent 3060375251
commit 5c07863ad5
4 changed files with 16 additions and 4 deletions
+4 -4
View File
@@ -124,13 +124,13 @@ class MyNickServService : public NickServService
}
else if (na->nc->HasFlag(NI_KILL_QUICK))
{
u->SendMessage(NickServ, _("If you do not change within 20 seconds, I will change your nick."));
new NickServCollide(u, 20);
u->SendMessage(NickServ, _("If you do not change within %s, I will change your nick."), duration(Config->NSKillQuick, u->Account()).c_str());
new NickServCollide(u, Config->NSKillQuick);
}
else
{
u->SendMessage(NickServ, _("If you do not change within one minute, I will change your nick."));
new NickServCollide(u, 60);
u->SendMessage(NickServ, _("If you do not change within %s, I will change your nick."), duration(Config->NSKill, u->Account()).c_str());
new NickServCollide(u, Config->NSKill);
}
}