1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 15:23:12 +02:00

Fix setting the history mode on UnrealIRCd.

Closes #406.
This commit is contained in:
Sadie Powell
2024-05-22 15:08:13 +01:00
parent bce0d629fd
commit c72e12d0a6
+1 -2
View File
@@ -729,8 +729,7 @@ public:
// The part after the ':' is a duration and it
// can be in the user friendly "1d3h20m" format, make sure we accept that
auto n = Anope::DoTime(rest.substr(1));
return n <= 0;
return false;
return n > 0;
}
};