Package: irssi-scripts
Version: 20160301
Severity: normal
Tags: patch
Dear maintainer,
the auto_away script does actually not work on my systems due to the
limited timeout/reset triggering: auto_away currently only sets up the
timeout handler on '\r', not on '\n'. The attached patch works for me.
Kind regards,
Nicolas
--- a/usr/share/irssi/scripts/auto_away.pl
+++ b/usr/share/irssi/scripts/auto_away.pl
@@ -39,7 +39,7 @@ Irssi::settings_add_str('misc', 'away_se
sub reset_timer{
my $key=shift;
- if($key == 10){
+ if (($key == 10) or ($key == 13)) {
my (@servers) = Irssi::servers();
foreach my $server (@servers) {
if($server->{usermode_away} == 1){