]> Cypherpunks.ru repositories - goircd.git/blobdiff - goircd.go
Replace Makefile with redo, keep version in source code
[goircd.git] / goircd.go
index 818ee11574777df56d034e134e783cafb8c4d3b6..deb6e3542feca9d32a1f494f3ffefdb5f0415403 100644 (file)
--- a/goircd.go
+++ b/goircd.go
@@ -1,6 +1,6 @@
 /*
 goircd -- minimalistic simple Internet Relay Chat (IRC) server
-Copyright (C) 2014-2019 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2014-2020 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -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() {