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" + suffix for suffix in config.regex_suffixes]
search = u" ".join(words[1:])
authors = self.quotedb.search_authors(search, regexp)
if len(authors) > config.search_max_authors: