From: Vincent Le Gallic Date: Mon, 14 Apr 2014 06:57:55 +0000 (+0200) Subject: typo X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=e40da5a33f6a26bc6524bad637483db3fe602cd1;p=bots%2Fparrot.git typo --- diff --git a/parrot.py b/parrot.py index d3039a4..aae04fc 100755 --- a/parrot.py +++ b/parrot.py @@ -449,7 +449,7 @@ class Parrot(ircbot.SingleServerIRCBot): elif message.startswith(u"!author"): words = message.split() cmd = words[0].lstrip("!") - regexp = cmd in ["author-r", "authorreg", "author-reg", "author-regex"]: + regexp = cmd in ["author-r", "authorreg", "author-reg", "author-regex"] search = u" ".join(words[1:]) authors = self.quotedb.search_authors(search, regexp) if len(authors) > config.search_max_authors: