summaryrefslogtreecommitdiff
path: root/ChatHTMLConfig.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-28 10:31:09 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-28 10:31:09 +0000
commit7a61c594e1bf9fd62e156d3d8db772fe7c4bfd03 (patch)
tree19d55bf6fcd52ce7bd67c10591c04a3cd2549b56 /ChatHTMLConfig.c
parent2ccd083256a3a05ae1f402a0ef259fbfff709088 (diff)
New upstream version 6.0.24.25upstream/6.0.24.25
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);