From 5854969fa9559431963bff64f07d396e7e34291d Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Sun, 30 Apr 2023 05:59:13 -0700 Subject: [PATCH] PT_SAY: Help GUESTs understand what's going on a little better --- src/d_clisrv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 7bdc19693..aa0be37cb 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -4999,6 +4999,8 @@ static void PT_Say(int node) char rejectmsg[256]; strlcpy(rejectmsg, va("Please finish in %d more games to use chat.", remainingGames), 256); + if (IsPlayerGuest(say.source)) + strlcpy(rejectmsg, va("GUESTs can't chat on this server. Rejoin with a profile to track your playtime."), 256); SendServerNotice(say.source, rejectmsg); return;