]> Cypherpunks.ru repositories - goircd.git/blobdiff - goircd.go
Replace Makefile with redo, keep version in source code
[goircd.git] / goircd.go
index 93cb67553109e76371dadf61747379829ede6239..deb6e3542feca9d32a1f494f3ffefdb5f0415403 100644 (file)
--- a/goircd.go
+++ b/goircd.go
@@ -28,8 +28,9 @@ import (
        "strings"
 )
 
+const Version = "1.8.2"
+
 var (
-       version   string
        hostname  = flag.String("hostname", "localhost", "Hostname")
        bind      = flag.String("bind", ":6667", "Address to bind to")
        motd      = flag.String("motd", "", "Path to MOTD file")
@@ -71,7 +72,7 @@ func Run() {
                log.Println(*logdir, "logger initialized")
        }
 
-       log.Println("goircd " + version + " is starting")
+       log.Println("goircd " + Version + " is starting")
        if *statedir == "" {
                // Dummy statekeeper
                go func() {