From bfab948a3ec1784957cc760546c4c74ddbb9bd5d Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 22 Oct 2018 16:42:00 +1300 Subject: Strip only trailing whitespace from commands --- idalius.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idalius.pl b/idalius.pl index eba7e42..1565bdb 100755 --- a/idalius.pl +++ b/idalius.pl @@ -217,7 +217,7 @@ sub handle_common { my $channel = $where->[0]; my $output; - $what =~ s/^\s+|\s+$//g; + $what =~ s/\s+$//g; my $stripped_what = strip_color(strip_formatting($what)); my $no_prefix_what = $stripped_what; -- cgit v1.1