From 1038b97a7dff8562325bdaaddcf80f11553b49ee Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sun, 17 Jan 2021 11:31:05 +0100 Subject: Fix old chlog reference in help Fixes https://github.com/profanity-im/profanity/issues/1470 --- src/command/cmd_funcs.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 38b45a57..d8e3eaf9 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -6800,7 +6800,7 @@ cmd_history(ProfWin* window, const char* const command, gchar** args) _cmd_set_boolean_preference(args[0], command, "Chat history", PREF_HISTORY); - // if set to on, set chlog + // if set to on, set chlog (/logging chat on) if (strcmp(args[0], "on") == 0) { prefs_set_boolean(PREF_CHLOG, TRUE); } @@ -7197,7 +7197,7 @@ cmd_pgp(ProfWin* window, const char* const command, gchar** args) prefs_set_string(PREF_PGP_LOG, "on"); cons_show("PGP messages will be logged as plaintext."); if (!prefs_get_boolean(PREF_CHLOG)) { - cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); } } else if (g_strcmp0(choice, "off") == 0) { prefs_set_string(PREF_PGP_LOG, "off"); @@ -7206,7 +7206,7 @@ cmd_pgp(ProfWin* window, const char* const command, gchar** args) prefs_set_string(PREF_PGP_LOG, "redact"); cons_show("PGP messages will be logged as '[redacted]'."); if (!prefs_get_boolean(PREF_CHLOG)) { - cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); } } else { cons_bad_cmd_usage(command); @@ -7624,7 +7624,7 @@ cmd_otr_log(ProfWin* window, const char* const command, gchar** args) prefs_set_string(PREF_OTR_LOG, "on"); cons_show("OTR messages will be logged as plaintext."); if (!prefs_get_boolean(PREF_CHLOG)) { - cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); } } else if (g_strcmp0(choice, "off") == 0) { prefs_set_string(PREF_OTR_LOG, "off"); @@ -7633,7 +7633,7 @@ cmd_otr_log(ProfWin* window, const char* const command, gchar** args) prefs_set_string(PREF_OTR_LOG, "redact"); cons_show("OTR messages will be logged as '[redacted]'."); if (!prefs_get_boolean(PREF_CHLOG)) { - cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); } } else { cons_bad_cmd_usage(command); @@ -8529,7 +8529,7 @@ cmd_omemo_log(ProfWin* window, const char* const command, gchar** args) prefs_set_string(PREF_OMEMO_LOG, "on"); cons_show("OMEMO messages will be logged as plaintext."); if (!prefs_get_boolean(PREF_CHLOG)) { - cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); } } else if (g_strcmp0(choice, "off") == 0) { prefs_set_string(PREF_OMEMO_LOG, "off"); @@ -8538,7 +8538,7 @@ cmd_omemo_log(ProfWin* window, const char* const command, gchar** args) prefs_set_string(PREF_OMEMO_LOG, "redact"); cons_show("OMEMO messages will be logged as '[redacted]'."); if (!prefs_get_boolean(PREF_CHLOG)) { - cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); } } else { cons_bad_cmd_usage(command); -- cgit 1.4.1-2-gfad0 c20cc3d4561152e1cef98cccc23488e02979c34'>bc20cc3d ^
bc20cc3d ^






























































c88b9e31 ^




bc20cc3d ^
c88b9e31 ^
bc20cc3d ^
bc20cc3d ^
c88b9e31 ^
bc20cc3d ^

bc20cc3d ^

c88b9e31 ^
bc20cc3d ^
































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118