summaryrefslogtreecommitdiffstats
path: root/debian/patches/01chanmode_expando_strip
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:40 +0000
commit35ddc96e34bcd836ebee6e29c4300de16c34abc7 (patch)
tree3cc82d48be8ad30ddfa76d0ea796a1defe389d64 /debian/patches/01chanmode_expando_strip
parentAdding upstream version 1.4.5. (diff)
downloadirssi-35ddc96e34bcd836ebee6e29c4300de16c34abc7.tar.xz
irssi-35ddc96e34bcd836ebee6e29c4300de16c34abc7.zip
Adding debian version 1.4.5-1.debian/1.4.5-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/01chanmode_expando_strip')
-rw-r--r--debian/patches/01chanmode_expando_strip21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/01chanmode_expando_strip b/debian/patches/01chanmode_expando_strip
new file mode 100644
index 0000000..c64e7c4
--- /dev/null
+++ b/debian/patches/01chanmode_expando_strip
@@ -0,0 +1,21 @@
+Author: Rhonda D'Vine <rhonda@debian.org> vim:ft=diff:
+Description: Don't expand chanmode by default, BTS #347944
+Forwarded: not-needed
+
+---
+ src/core/expandos.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- a/src/core/expandos.c 2022-02-26 23:11:26.700266885 -0500
++++ b/src/core/expandos.c 2022-02-26 23:11:26.696266861 -0500
+@@ -611,7 +611,9 @@
+ settings_add_str("misc", "STATUS_OPER", "*");
+ settings_add_str("lookandfeel", "timestamp_format", "%H:%M");
+ settings_add_str("lookandfeel", "timestamp_format_alt", "%a %e %b %H:%M");
+- settings_add_bool("lookandfeel", "chanmode_expando_strip", FALSE);
++ /* don't expand by default and expose channel key,
++ * see debian bug #347944 */
++ settings_add_bool("lookandfeel", "chanmode_expando_strip", TRUE);
+
+ last_sent_msg = NULL; last_sent_msg_body = NULL;
+ last_privmsg_from = NULL; last_public_from = NULL;