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