summaryrefslogtreecommitdiffstats
path: root/debian/patches/auto_away--trigger-also-on-newline.diff
blob: 5f00b6ce426c993976fac0b30b5d91ee836d66bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Trigger also on newline
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820412
Forwarded: not-needed
Author: Nicolas Schier <nicolas@hjem.rpa.no>
Last-Update: 12-07-2017
--- a/scripts/auto_away.pl
+++ b/scripts/auto_away.pl
@@ -39,7 +39,7 @@
 
 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){