diff options
author | David Phillips <david@yeah.nah.nz> | 2018-10-22 16:42:00 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2018-10-22 16:42:00 +1300 |
commit | bfab948a3ec1784957cc760546c4c74ddbb9bd5d (patch) | |
tree | 1a17a1ddc9ac9e26c943f2a910647192df4793c1 | |
parent | 186cb12c229522bc49940129c710d877c36548cc (diff) | |
download | idalius-bfab948a3ec1784957cc760546c4c74ddbb9bd5d.tar.xz |
Strip only trailing whitespace from commands
-rwxr-xr-x | idalius.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |