summaryrefslogtreecommitdiffstats
path: root/debian/patches/auto_away--trigger-also-on-newline.diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/auto_away--trigger-also-on-newline.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/auto_away--trigger-also-on-newline.diff b/debian/patches/auto_away--trigger-also-on-newline.diff
new file mode 100644
index 0000000..5f00b6c
--- /dev/null
+++ b/debian/patches/auto_away--trigger-also-on-newline.diff
@@ -0,0 +1,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){