1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:04:47 +02:00

Fix inconsistencies in reading the NickServ expiry time.

This commit is contained in:
Sadie Powell
2025-12-12 16:16:42 +00:00
parent aba75c1f31
commit 641e011e13
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -608,7 +608,7 @@ public:
if (Anope::NoExpire || Anope::ReadOnly)
return;
time_t nickserv_expire = Config->GetModule(this).Get<time_t>("expire", "90d");
time_t nickserv_expire = Config->GetModule(this).Get<time_t>("expire", "1y");
for (nickalias_map::const_iterator it = NickAliasList->begin(), it_end = NickAliasList->end(); it != it_end; )
{
+1 -1
View File
@@ -342,7 +342,7 @@ public:
: _("\002{nick}\002: registered on {registered}; expires in {expires}");
});
time_t nickserv_expire = Config->GetModule("nickserv").Get<time_t>("expire", "90d"),
time_t nickserv_expire = Config->GetModule("nickserv").Get<time_t>("expire", "1y"),
unconfirmed_expire = Config->GetModule("ns_register").Get<time_t>("unconfirmedexpire", "1d");
for (auto *na2 : *nc->aliases)
{