diff options
author | Julien Dessaux | 2011-11-03 18:51:57 +0100 |
---|---|---|
committer | Julien Dessaux | 2011-11-03 18:51:57 +0100 |
commit | cc8053fc8008dd5aeca386c3d20b5f0a0d510b18 (patch) | |
tree | 551f8700ebca8365681045079b1ff91b142b97a7 /Hsbot/Plugin | |
parent | Updated to support the latest version of the tls module. (diff) | |
download | hsbot-cc8053fc8008dd5aeca386c3d20b5f0a0d510b18.tar.gz hsbot-cc8053fc8008dd5aeca386c3d20b5f0a0d510b18.tar.bz2 hsbot-cc8053fc8008dd5aeca386c3d20b5f0a0d510b18.zip |
Fixed a bug in the quote module
Diffstat (limited to '')
-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 |