diff options
| author | Dave Hibberd <d@vehibberd.com> | 2024-01-16 20:57:51 +0000 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2024-01-16 20:57:51 +0000 |
| commit | 645db7ce3d635490cb205a023181b002a24577ba (patch) | |
| tree | dd76deb237a5f6c4004d2ebd7f187408d7d79124 /ChatHTMLConfig.c | |
| parent | 1ff37aad018eb660726906caf54557d7b62a936a (diff) | |
| parent | 710cc6fde7454126b4b749cc121c4bd0860aeb7f (diff) | |
Merge branch 'debian/latest' into debian/bookworm
Diffstat (limited to 'ChatHTMLConfig.c')
| -rw-r--r-- | ChatHTMLConfig.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ChatHTMLConfig.c b/ChatHTMLConfig.c index b4d90b6..c4071cf 100644 --- a/ChatHTMLConfig.c +++ b/ChatHTMLConfig.c @@ -67,6 +67,7 @@ extern int MaxChatStreams; extern char Position[81];
extern char PopupText[251];
extern int PopupMode;
+extern int reportChatEvents;
#include "httpconnectioninfo.h"
@@ -323,6 +324,8 @@ VOID SaveChatInfo(struct HTTPConnectionInfo * Session, char * MsgPtr, char * Rep if (chatPaclen < 60)
chatPaclen = 60;
+ GetCheckBox(input, "Events=", &reportChatEvents);
+
GetParam(input, "nodes=", Nodes);
ptr1 = Nodes;
@@ -508,7 +511,9 @@ scan: Len = sprintf(Reply, ChatConfigTemplate,
OurNode, Key, Key, Key,
- ChatApplNum, MaxChatStreams, Nodes, chatPaclen, Position,
+ ChatApplNum, MaxChatStreams,
+ (reportChatEvents) ? CHKD : UNC,
+ Nodes, chatPaclen, Position,
(PopupMode) ? UNC : CHKD,
(PopupMode) ? CHKD : UNC, Text, ptr2);
|
