/trigger save would end lines with a trailing space, which makes Git
complain about it. There's no reason this space needs to exist, so let's
get rid of it.
Signed-off-by: martin f. krafft <redacted>
use IO::File;
use vars qw($VERSION %IRSSI);
-$VERSION = '1.2.5';
+$VERSION = '1.2.6';
%IRSSI = (
authors => 'Wouter Coekaerts',
contact => 'wouter@coekaerts.be',
description => 'execute a command or replace text, triggered by an event in irssi',
license => 'GPLv2 or later',
url => 'http://wouter.coekaerts.be/irssi/',
- changed => '2022-01-02',
+ changed => '2022-09-13',
);
sub cmd_help {
$string .= '-' . $param . param_to_string($trigger->{$param});
}
}
+ $string =~ s/\s+$//;
return $string;
}