From af233c44efe00fc359a231b8e8d858e1bab76b0e Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 28 Aug 2024 21:53:19 +0200 Subject: [PATCH] sending pm back to end user on server-side --- src/chat/misc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/chat/misc.c b/src/chat/misc.c index cf71a15..c1b7d7e 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -930,6 +930,9 @@ void *why2_listen_server(void *socket) { printf("Server is outdated. Some new features may not work correctly.\n\n"); } + } else if (strncmp(message, WHY2_CHAT_CODE_PM_SERVER, strlen(WHY2_CHAT_CODE_PM_SERVER)) == 0) + { + printf("\n%s\n\n", message); } } else if (!continuing) {