X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fparrot.git;a=blobdiff_plain;f=parrot.py;h=aae04fc037e198f702e24d1d6c175d2a31f3f9d8;hp=d3039a4a432711ec2c4a79683e03a184a84d1df2;hb=e40da5a33f6a26bc6524bad637483db3fe602cd1;hpb=a140e55d58b6af4b50c1cd83a78aa387f78e1a80 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: