mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Be silently compatible with Infobot's 'karma' syntax. Bug 142377
This commit is contained in:
parent
920c108c8b
commit
7931dd2ce8
@ -42,6 +42,8 @@ sub Told {
|
||||
} elsif ($message =~ /^\s*(?:karma\s+)?ranks?[?\s]*$/os) {
|
||||
$self->ReportKarmaRanks($event, $1);
|
||||
} elsif ($message =~ /^\s*(\S+)\s+(?:karma\s+)?rank[?\s]*$/os or
|
||||
$message =~ /^\s*(\S+)\s+karma(?:\s+rank)?[?\s]*$/os or
|
||||
$message =~ /^\s*karma(?:\s+rank)?\s+(\S+)[?\s]*$/os or
|
||||
$message =~ /^\s*(?:karma\s+)?rank\s+(\S+)[?\s]*$/os) {
|
||||
$self->ReportKarma($event, $1);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user