]> Cypherpunks.ru repositories - goircd.git/blobdiff - goircd.go
Replace Makefile with redo, keep version in source code
[goircd.git] / goircd.go
index 6991e8cb8ad901dd29a9fd25d0ab7f4a0d0f7e66..deb6e3542feca9d32a1f494f3ffefdb5f0415403 100644 (file)
--- a/goircd.go
+++ b/goircd.go
@@ -1,11 +1,10 @@
 /*
 goircd -- minimalistic simple Internet Relay Chat (IRC) server
-Copyright (C) 2014-2018 | wn 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
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, version 3 of the License.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -29,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")
@@ -72,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() {