summaryrefslogtreecommitdiffstats
path: root/debian/patches/01chanmode_expando_strip
diff options
context:
space:
mode:
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;