mirror of
https://github.com/anope/anope.git
synced 2026-07-03 13:43:12 +02:00
Correct a couple expiry time checks from DoTime()
This commit is contained in:
@@ -75,7 +75,7 @@ class CommandCSSuspend : public Command
|
||||
else
|
||||
{
|
||||
expiry_secs = Anope::DoTime(expiry);
|
||||
if (expiry_secs == -1)
|
||||
if (expiry_secs < 0)
|
||||
{
|
||||
source.Reply(BAD_EXPIRY_TIME);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user