]> gitweb.pimeys.fr Git - bots/parrot.git/blobdiff - parrot.py
typo
[bots/parrot.git] / parrot.py
index d3039a4a432711ec2c4a79683e03a184a84d1df2..aae04fc037e198f702e24d1d6c175d2a31f3f9d8 100755 (executable)
--- 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: