X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=goircd.go;h=deb6e3542feca9d32a1f494f3ffefdb5f0415403;hb=def58d0f4944397faa8cdd4a9cf3515125e0b548;hp=f66127cc0bb504c8e26d6ab0e99c838a9b544f9c;hpb=491e6602aa27f2266c8bc2c6d009b8cd658f440e;p=goircd.git diff --git a/goircd.go b/goircd.go index f66127c..deb6e35 100644 --- a/goircd.go +++ b/goircd.go @@ -1,11 +1,10 @@ /* goircd -- minimalistic simple Internet Relay Chat (IRC) server -Copyright (C) 2014-2016 Sergey Matveev +Copyright (C) 2014-2020 Sergey Matveev 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() {