mirror of
https://github.com/anope/anope.git
synced 2026-06-30 10:16:38 +02:00
Correct a couple expiry time checks from DoTime()
This commit is contained in:
@@ -114,7 +114,7 @@ class CommandBSSetBanExpire : public Command
|
||||
}
|
||||
|
||||
time_t t = Anope::DoTime(arg);
|
||||
if (t == -1)
|
||||
if (t < 0)
|
||||
{
|
||||
source.Reply(BAD_EXPIRY_TIME);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user