diff options
author | Adam <Adam@anope.org> | 2017-04-24 18:51:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-04-24 18:51:57 -0400 |
commit | 2309ad571c76d1e3bd869841d4230dd407929983 (patch) | |
tree | 4014ca515884a4c76565d59f4089200926b3dc23 /modules/operserv/forbid.cpp | |
parent | 92b9d78dbb90fff7edbf326e57b47df4e4cd7146 (diff) | |
parent | 34bf21f7d199e3c744ca7a38f2ebd81cbbdaa2ec (diff) |
Merge commit '34bf21f7d199e3c744ca7a38f2ebd81cbbdaa2ec'
Diffstat (limited to 'modules/operserv/forbid.cpp')
-rw-r--r-- | modules/operserv/forbid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/operserv/forbid.cpp b/modules/operserv/forbid.cpp index e08125311..631f2d785 100644 --- a/modules/operserv/forbid.cpp +++ b/modules/operserv/forbid.cpp @@ -236,7 +236,7 @@ class CommandOSForbid : public Command if (!expiry.empty()) { expiryt = Anope::DoTime(expiry); - if (expiryt == -1) + if (expiryt < 0) { source.Reply(_("Invalid expiry time \002{0}\002."), expiry); return; |