From bf743d118409798ce9bbb6030a5f03077506c1eb Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Tue, 19 Apr 2016 14:50:26 +1000 Subject: [PATCH] Made automessage a little more friendly --- bbs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs.c b/bbs.c index 5dc5f65..e0cdc0d 100644 --- a/bbs.c +++ b/bbs.c @@ -677,11 +677,11 @@ void automessage_write(int socket, struct user_record *user) { timen = time(NULL); localtime_r(&timen, &timenow); - sprintf(automsg, "Posted by %s @ %s", user->loginname, asctime(&timenow)); + sprintf(automsg, "Automessage Posted by %s @ %s", user->loginname, asctime(&timenow)); automsg[strlen(automsg) - 1] = '\r'; automsg[strlen(automsg)] = '\n'; - + s_putstring(socket, "\r\nEnter your message (4 lines):\r\n"); for (i=0;i<4;i++) { sprintf(buffer, "\r\n%d: ", i); s_putstring(socket, buffer);