summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-07 08:46:28 -0400
committerAdam <Adam@anope.org>2012-09-07 08:46:28 -0400
commit5c07863ad503edfc8deb1dee38e6222602db54fd (patch)
treebdea6b8d44b937c770fbd0efcba7e4e45200f98d /modules
parent306037525181b3e4aad1f53cea2b3f46603d77a2 (diff)
Allow configuring killquick and kill delays
Diffstat (limited to 'modules')
-rw-r--r--modules/pseudoclients/nickserv.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/pseudoclients/nickserv.cpp b/modules/pseudoclients/nickserv.cpp
index 34b945f08..6307434de 100644
--- a/modules/pseudoclients/nickserv.cpp
+++ b/modules/pseudoclients/nickserv.cpp
@@ -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);
}
}