summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-10-01 11:31:50 +0100
committerSadie Powell <sadie@witchery.services>2024-10-01 11:31:50 +0100
commitf9e4ca4d06d0b92333b0b96fe73a17762cabef5e (patch)
tree4d6c7b7b5d2c6565efeb72585d7b2035e76e4f1b /modules
parent66c9be86276e7ca91c1f2d3e5ba319aa63972ce4 (diff)
Raise the default nickname expiry time to one year.
Diffstat (limited to 'modules')
-rw-r--r--modules/nickserv/nickserv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nickserv/nickserv.cpp b/modules/nickserv/nickserv.cpp
index fc02ff50d..6fce83aa6 100644
--- a/modules/nickserv/nickserv.cpp
+++ b/modules/nickserv/nickserv.cpp
@@ -486,7 +486,7 @@ public:
"Services Operators can also drop any nickname without needing\n"
"to identify for the nick, and may view the access list for\n"
"any nickname."));
- time_t nickserv_expire = Config->GetModule(this)->Get<time_t>("expire", "90d");
+ time_t nickserv_expire = Config->GetModule(this)->Get<time_t>("expire", "1y");
if (nickserv_expire >= 86400)
source.Reply(_(" \n"
"Accounts that are not used anymore are subject to\n"
@@ -554,7 +554,7 @@ public:
{
if (!na->nc->HasExt("UNCONFIRMED"))
{
- time_t nickserv_expire = Config->GetModule(this)->Get<time_t>("expire", "90d");
+ time_t nickserv_expire = Config->GetModule(this)->Get<time_t>("expire", "1y");
if (!na->HasExt("NS_NO_EXPIRE") && nickserv_expire && !Anope::NoExpire && (source.HasPriv("nickserv/auspex") || na->last_seen != Anope::CurTime))
info[_("Expires")] = Anope::strftime(na->last_seen + nickserv_expire, source.GetAccount());
}