summaryrefslogtreecommitdiff
path: root/ChatHTMLConfig.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-07-14 23:14:11 +0100
committerDave Hibberd <hibby@debian.org>2025-07-14 23:14:11 +0100
commitb2315840b26a7ae5c38b0f9ed25e597f320c545e (patch)
tree4eaec3a3c8f5825155c5a94161dbd7e360a35c0e /ChatHTMLConfig.c
parent0d3ee7fd56efa24ba652fbc17f98dd10458e8054 (diff)
New upstream version 6.0.24.75+repackupstream/6.0.24.75+repack
Diffstat (limited to 'ChatHTMLConfig.c')
-rw-r--r--ChatHTMLConfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ChatHTMLConfig.c b/ChatHTMLConfig.c
index c4071cf..604db8f 100644
--- a/ChatHTMLConfig.c
+++ b/ChatHTMLConfig.c
@@ -590,7 +590,7 @@ VOID SendChatStatusPage(char * Reply, int * ReplyLen, char * Key)
{
if (conn->Flags & CHATLINK)
{
- if (conn->BPQStream > 64 || conn->u.link == 0)
+ if (conn->BPQStream > 64 || conn->u.link == 0 || conn->u.link->alias == 0)
Len += sprintf(&Streams[Len], "<tr><td onclick= SelectRow(%d) id=cell_%d>** Corrupt ChatLink **</td>"
"<td>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;</td></tr>", i, i);
else
@@ -600,7 +600,7 @@ VOID SendChatStatusPage(char * Reply, int * ReplyLen, char * Key)
"", conn->OutputQueueLength - conn->OutputGetPointer);
}
else
- if ((conn->Flags & CHATMODE) && conn->topic)
+ if ((conn->Flags & CHATMODE) && conn->topic && conn->u.user && conn->u.user->call)
{
Len += sprintf(&Streams[Len], "<tr><td onclick='SelectRow(%d)' id='cell_%d'>%s</td><td>%s</td><td>%d</td><td>%s</td><td>%d</td></tr>",
i, i, conn->u.user->name, conn->u.user->call, conn->BPQStream,