diff options
Diffstat (limited to 'Hsbot')
-rw-r--r-- | Hsbot/Plugin/Quote.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Hsbot/Plugin/Quote.hs b/Hsbot/Plugin/Quote.hs index d7044fd..de2bd34 100644 --- a/Hsbot/Plugin/Quote.hs +++ b/Hsbot/Plugin/Quote.hs @@ -84,7 +84,7 @@ isQuoteLockedFor quoteId requestor now = do Just (owner, lockStamp) -> if owner == requestor then return $ Just True - else return . Just $ (addUTCTime 300 lockStamp > now) -- Is the entry older than 5 min? + else return . Just $ (addUTCTime 300 lockStamp < now) -- Is the entry older than 5 min? Nothing -> return $ Just True Nothing -> return Nothing |