diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/irc.c | 6 | ||||
| -rw-r--r-- | src/main.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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; @@ -1,8 +1,10 @@ /* FujiNetChat, an IRC client. Based on NetCat and the old FujiChat. */ +/* #define SELF "FujiNetChat" #define VERSION "0.0" #define BANNER SELF " v" VERSION " (B. Watson)\n" +*/ #include <atari.h> #include <stdlib.h> |
