1
0
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:
Adam
2017-01-16 18:42:29 -05:00
parent 847dfd9523
commit 34bf21f7d1
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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;