summaryrefslogtreecommitdiffstats
path: root/debian/patches/01chanmode_expando_strip
blob: c64e7c40ca296c8f47e4cc5b12b62e044ced06ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;