diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-07-14 23:14:14 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-07-14 23:14:14 +0100 |
| commit | 6371d5385ae320bdbb75e566ccfc4dbc7e251c52 (patch) | |
| tree | b305bb99497040f17319f1f2d6f54a9acb7d1bce /ChatHTMLConfig.c | |
| parent | 8d3874ec4ebac0285b35bc95f855490cf279ff81 (diff) | |
| parent | b2315840b26a7ae5c38b0f9ed25e597f320c545e (diff) | |
Update upstream source from tag 'upstream/6.0.24.75+repack'
Update to upstream version '6.0.24.75+repack'
with Debian dir 8aa30a6de888434886bea9ed7b969dec57e4a43b
Diffstat (limited to 'ChatHTMLConfig.c')
| -rw-r--r-- | ChatHTMLConfig.c | 4 |
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> </td><td> </td><td> </td><td> </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,
|
