diff options
Diffstat (limited to 'modules/botserv/set.cpp')
-rw-r--r-- | modules/botserv/set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/botserv/set.cpp b/modules/botserv/set.cpp index ad1513872..638aac012 100644 --- a/modules/botserv/set.cpp +++ b/modules/botserv/set.cpp @@ -124,7 +124,7 @@ class CommandBSSetBanExpire : public Command } time_t t = Anope::DoTime(arg); - if (t == -1) + if (t < 0) { source.Reply(_("Invalid expiry time \002{0}\002."), arg); return; |