summaryrefslogtreecommitdiff
path: root/ChatHTMLConfig.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-28 10:31:16 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-28 10:31:16 +0000
commitce4f1b11b05dfe6e62d7d99efba9a6a1ccd119ad (patch)
treeca6773b341a5846c7f7a903cf4dc79f740876680 /ChatHTMLConfig.c
parent1fbded9d3afd766e861577ba08d0f86f952de64e (diff)
parent7a61c594e1bf9fd62e156d3d8db772fe7c4bfd03 (diff)
Update upstream source from tag 'upstream/6.0.24.25'
Update to upstream version '6.0.24.25' with Debian dir c5f88a7af8f9d384ddf818129c71d1a6a7836522
Diffstat (limited to 'ChatHTMLConfig.c')
-rw-r--r--ChatHTMLConfig.c7
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);