1
0
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:
Adam
2013-12-24 20:58:06 -05:00
parent 53df61b4c2
commit 3029a2db1a
+1 -1
View File
@@ -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)