mirror of
https://github.com/anope/anope.git
synced 2026-07-06 10:53:14 +02:00
Don't epxire forbids when noexpire mode is on
This commit is contained in:
@@ -63,7 +63,7 @@ class MyForbidService : public ForbidService
|
||||
{
|
||||
ForbidData *d = this->forbids(j).at(i - 1);
|
||||
|
||||
if (d->expires && Anope::CurTime >= d->expires)
|
||||
if (d->expires && !Anope::NoExpire && Anope::CurTime >= d->expires)
|
||||
{
|
||||
Anope::string ftype = "none";
|
||||
if (d->type == FT_NICK)
|
||||
|
||||
Reference in New Issue
Block a user