mirror of
https://github.com/anope/anope.git
synced 2026-07-07 02:43:12 +02:00
Correct a couple expiry time checks from DoTime()
This commit is contained in:
@@ -81,7 +81,7 @@ class CommandNSSuspend : 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