From 6f0bbc1233c5f15788c5268bcf5ace1ae8149a17 Mon Sep 17 00:00:00 2001 From: Joey Pabalinas Date: Sun, 18 Feb 2018 17:57:00 -1000 Subject: [PATCH] Add missing color resets to message terminals (#24) --- PBot/Plugins/Spinach.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/Plugins/Spinach.pm b/PBot/Plugins/Spinach.pm index 4dd288b8..b89c874e 100644 --- a/PBot/Plugins/Spinach.pm +++ b/PBot/Plugins/Spinach.pm @@ -1357,7 +1357,7 @@ sub choosecategory { my $name = $state->{players}->[$state->{current_player}]->{name}; my $red = $state->{counter} == $state->{max_count} ? $color{red} : ''; - $self->send_message($self->{channel}, "$name: $red$color{bold}$state->{counter}/$state->{max_count} Choose a category via `/msg me c `:"); + $self->send_message($self->{channel}, "$name: $red$color{bold}$state->{counter}/$state->{max_count} Choose a category via `/msg me c `:$color{reset}"); $self->send_message($self->{channel}, "$color{bold}$state->{categories_text}$color{reset}"); return 'wait'; } @@ -1556,7 +1556,7 @@ sub findtruth { my $players = join ', ', @notruth; my $red = $state->{counter} == $state->{max_count} ? $color{red} : ''; - $self->send_message($self->{channel}, "$players: $red$color{bold}$state->{counter}/$state->{max_count} Find the truth now via `/msg me c `!"); + $self->send_message($self->{channel}, "$players: $red$color{bold}$state->{counter}/$state->{max_count} Find the truth now via `/msg me c `!$color{reset}"); $self->send_message($self->{channel}, "$color{bold}$state->{current_choices_text}$color{reset}"); }