From accf85183b5bce8437e003046f57761615ebb70a Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 30 Sep 2011 22:46:10 +0200 Subject: Forgot to add a notification on quote start command. --- Hsbot/Plugin/Quote.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Hsbot/Plugin/Quote.hs b/Hsbot/Plugin/Quote.hs index bb8b531..953ae52 100644 --- a/Hsbot/Plugin/Quote.hs +++ b/Hsbot/Plugin/Quote.hs @@ -261,5 +261,6 @@ quoteStart quoteDB msg quotee phrase = let newQuote = emptyQuote { quoter = sender , quotE = [ QuoteElt { eltQuotee = quotee, eltQuote = thatQuote } ] , quoteTime = now } - update' quoteDB (SetQuote quoteID newQuote) + _ <- update' quoteDB (SetQuote quoteID newQuote) + answerMsg msg $ sender ++ ": new quote added with ID " ++ show quoteID -- cgit v1.2.3