Add newlines to ActionTrigger list

This commit is contained in:
Pragmatic Software 2017-09-09 22:32:14 -07:00
parent f15423774b
commit 58f21b3bf7
1 changed files with 2 additions and 2 deletions

View File

@ -187,11 +187,11 @@ sub actiontrigger {
if (not @triggers) {
$result = "No counter triggers set for $channel.";
} else {
$result = "Triggers for $channel: ";
$result = "Triggers for $channel:\n";
my $comma = '';
foreach my $trigger (@triggers) {
$result .= "$comma$trigger->{trigger} -> $trigger->{action}";
$comma = ', ';
$comma = ",\n";
}
}
}