From a02849d7914c23e47f1eb5121cc4b4bce81d0a9b Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Wed, 17 Oct 2012 11:45:11 +1300 Subject: [PATCH] Workaround to make quote.py return the "quote added" message as a notice (this plugin is kinda shit, I should rewrite it, maybe with fulltext search like todo? :3)w --- plugins/quote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/quote.py b/plugins/quote.py index beaa312..7cb7cb1 100755 --- a/plugins/quote.py +++ b/plugins/quote.py @@ -134,7 +134,8 @@ def quote(inp, nick='', chan='', db=None, notice=None): if add: quoted_nick, msg = add.groups() - return add_quote(db, chan, quoted_nick, nick, msg) + notice(add_quote(db, chan, quoted_nick, nick, msg)) + return elif retrieve: select, num = retrieve.groups() by_chan = True if select.startswith('#') else False