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:
@@ -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; )
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user