Change name to salty-ircd

This commit is contained in:
Les De Ridder 2017-03-11 16:51:09 +01:00
parent 1ac00b9816
commit 730b2af803
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
3 changed files with 5 additions and 5 deletions

3
.gitignore vendored
View File

@ -4,6 +4,5 @@ __dummy.html
*.o
*.obj
__test__*__
/ircd
/salty-ircd
source/ircd/packageVersion.d

View File

@ -1,8 +1,9 @@
name "ircd"
name "salty-ircd"
description "An Internet Relay Chat server in D"
authors "Les De Ridder"
copyright "Copyright © 2017, Les De Ridder"
license "NCSA"
targetType "executable"
dependency "vibe-d:core" version="~>0.7.30"
dependency "gen-package-version" version="~>1.0.5"
preGenerateCommands "dub run gen-package-version -- ircd --src=source/"

View File

@ -56,9 +56,9 @@ class Connection
writeln("unused: " ~ message.parameters[2]);
send(Message("localhost", "001", [nick, "Welcome to the Internet Relay Network " ~ nick ~ "!" ~ user ~ "@hostname"], true));
send(Message("localhost", "002", [nick, "Your host is localhost, running version " ~ packageVersion], true));
send(Message("localhost", "002", [nick, "Your host is localhost, running version salty-ircd-" ~ packageVersion], true));
send(Message("localhost", "003", [nick, "This server was created " ~ packageTimestampISO], true));
send(Message("localhost", "004", [nick, "localhost", packageVersion, "w", "snt"]));
send(Message("localhost", "004", [nick, "localhost", "salty-ircd-" ~ packageVersion, "w", "snt"]));
break;
case "PING":
send(Message(null, "PONG", [message.parameters[0]], true));