Karma: add top to reportpattern

This commit is contained in:
Brian S. Stephan 2011-01-20 14:50:51 -06:00
parent 18fc614a4a
commit 4e8b60c201
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Karma(Module):
pattern = "(?:(\S+)|\((.+)\))"
karmapattern = pattern + '(\+\+|--|\+-|-\+)' + '(\s+|$)'
querypattern = '^!rank\s+(.*)'
reportpattern = '^!karma\s+report\s+(highest|lowest|positive|negative)'
reportpattern = '^!karma\s+report\s+(highest|lowest|positive|negative|top)'
statpattern = '^!karma\s+stat\s+(.*)'
self.karmare = re.compile(karmapattern)