From e40da5a33f6a26bc6524bad637483db3fe602cd1 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 14 Apr 2014 08:57:55 +0200 Subject: [PATCH] typo --- parrot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2