From e237b6858830f9d8355b7ae91506bf6af3f15009 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 15 Mar 2026 05:34:32 -0400 Subject: Embed git hash and build host in binary. --- src/irc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/irc.c') diff --git a/src/irc.c b/src/irc.c index 49eea56..cd11ba8 100644 --- a/src/irc.c +++ b/src/irc.c @@ -14,6 +14,10 @@ #include "nio.h" #include "config.h" +#ifndef VERSION +#define VERSION "?????" +#endif + #define MAX_MSG 512 char *msg_src, *msg_cmd, *msg_dest, *msg_text; @@ -203,7 +207,7 @@ static void do_ctcp(int is_notice) { } else if(streq_i(ctcp_type, "CLIENTINFO")) { resp = "PING VERSION CLIENTINFO"; } else if(streq_i(ctcp_type, "VERSION")) { - resp = "FujiNetChat pre-alpha on an Atari 8-bit"; + resp = "FujiNetChat (" VERSION "; Atari 8-bit)"; } else { /* unknown CTCP type, ignore */ return; -- cgit v1.2.3