From b7da27ad3ab36e8b246c503963bb7ce745baf83b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 17 Oct 2021 19:44:05 +0100 Subject: Increase the default nickname expiry to 90 days. --- modules/commands/ns_group.cpp | 2 +- modules/pseudoclients/nickserv.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp index aa2865776..1d8256bac 100644 --- a/modules/commands/ns_group.cpp +++ b/modules/commands/ns_group.cpp @@ -325,7 +325,7 @@ class CommandNSGList : public Command ListFormatter list(source.GetAccount()); list.AddColumn(_("Nick")).AddColumn(_("Expires")); - time_t nickserv_expire = Config->GetModule("nickserv")->Get("expire", "21d"), + time_t nickserv_expire = Config->GetModule("nickserv")->Get("expire", "90d"), unconfirmed_expire = Config->GetModule("ns_register")->Get("unconfirmedexpire", "1d"); for (unsigned i = 0; i < nc->aliases->size(); ++i) { diff --git a/modules/pseudoclients/nickserv.cpp b/modules/pseudoclients/nickserv.cpp index 013b067f9..adfe5734b 100644 --- a/modules/pseudoclients/nickserv.cpp +++ b/modules/pseudoclients/nickserv.cpp @@ -487,7 +487,7 @@ class NickServCore : public Module, public NickServService "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("expire", "21d"); + time_t nickserv_expire = Config->GetModule(this)->Get("expire", "90d"); if (nickserv_expire >= 86400) source.Reply(_(" \n" "Accounts that are not used anymore are subject to\n" @@ -521,7 +521,7 @@ class NickServCore : public Module, public NickServService if (Anope::NoExpire || Anope::ReadOnly) return; - time_t nickserv_expire = Config->GetModule(this)->Get("expire", "21d"); + time_t nickserv_expire = Config->GetModule(this)->Get("expire", "90d"); for (nickalias_map::const_iterator it = NickAliasList->begin(), it_end = NickAliasList->end(); it != it_end; ) { @@ -552,7 +552,7 @@ class NickServCore : public Module, public NickServService { if (!na->nc->HasExt("UNCONFIRMED")) { - time_t nickserv_expire = Config->GetModule(this)->Get("expire", "21d"); + time_t nickserv_expire = Config->GetModule(this)->Get("expire", "90d"); 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()); } -- cgit