Skip to content

Commit

Permalink
Minor correction of the previous change
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Šabata <[email protected]>
  • Loading branch information
contyk committed Feb 23, 2021
1 parent db70690 commit 56e9ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion malicek.pl
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ sub parse_chat {
type => 'kick',
target => $+{nick},
));
} elsif ($msg->message =~ /^Kamarád(?>ka)? (?<nick>.+) předala? moderátora\.$/) {
} elsif ($msg->message =~ /^Kamarád(?>ka)? (?<nick>.+) (?>předal|odebral)a? titul moderátora\.$/) {
$msg->event(Malicek::Event->new(
type => 'oper',
source => $+{nick},
Expand Down

0 comments on commit 56e9ea0

Please sign in to comment.