summaryrefslogtreecommitdiff
path: root/modules/chanserv/suspend.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-04-24 18:51:57 -0400
committerAdam <Adam@anope.org>2017-04-24 18:51:57 -0400
commit2309ad571c76d1e3bd869841d4230dd407929983 (patch)
tree4014ca515884a4c76565d59f4089200926b3dc23 /modules/chanserv/suspend.cpp
parent92b9d78dbb90fff7edbf326e57b47df4e4cd7146 (diff)
parent34bf21f7d199e3c744ca7a38f2ebd81cbbdaa2ec (diff)
Merge commit '34bf21f7d199e3c744ca7a38f2ebd81cbbdaa2ec'
Diffstat (limited to 'modules/chanserv/suspend.cpp')
-rw-r--r--modules/chanserv/suspend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/suspend.cpp b/modules/chanserv/suspend.cpp
index f5a928eac..e730ddf49 100644
--- a/modules/chanserv/suspend.cpp
+++ b/modules/chanserv/suspend.cpp
@@ -142,7 +142,7 @@ class CommandCSSuspend : public Command
else
{
expiry_secs = Anope::DoTime(expiry);
- if (expiry_secs == -1)
+ if (expiry_secs < 0)
{
source.Reply(_("Invalid expiry time \002{0}\002."), expiry);
return;