summaryrefslogtreecommitdiff
path: root/message.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-07-18 21:37:51 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-07-18 21:42:01 +0100
commit165cb674c689b1c779a357cd20467844c855e93e (patch)
tree042a03e2f65a815526f5f68b299291f7e5f55670 /message.c
parent1702786389a71b28aac9c2f66dc27fa02889de22 (diff)
Release version 0.1!v0.1
Also add version information (client welcome message, -v, and --version).
Diffstat (limited to 'message.c')
-rw-r--r--message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/message.c b/message.c
index 3e9f15c..4505ee1 100644
--- a/message.c
+++ b/message.c
@@ -855,7 +855,7 @@ int processclientmessage(SSL *server_ssl, char *str, struct client *clients, int
}
// Send our own greeting message
- snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Welcome to blabouncer!", ircdstate->ircnick);
+ snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Welcome to blabouncer version %s!", ircdstate->ircnick, VERSION);
sendtoclient(sourcefd, outgoingmsg, clients, settings, 0);
snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Blabouncer commands are all prefixed with BLABOUNCER which you can usually send using \"/QUOTE BLABOUNCER\"", ircdstate->ircnick);
sendtoclient(sourcefd, outgoingmsg, clients, settings, 0);