1
0
Fork 0
forked from External/ergo

tweak version strings again

This commit is contained in:
Shivaram Lingamneni 2020-05-21 11:25:30 -04:00
parent 9d8b71b920
commit 464d0be949
5 changed files with 36 additions and 34 deletions

View file

@ -5,20 +5,7 @@
package irc
import "fmt"
const (
// SemVer is the semantic version of Oragono.
SemVer = "2.1.0-unreleased"
)
var (
// Commit is the current git commit.
Commit = ""
// Ver is the full version of Oragono, used in responses to clients.
Ver = fmt.Sprintf("oragono-%s", SemVer)
// maxLastArgLength is used to simply cap off the final argument when creating general messages where we need to select a limit.
// for instance, in MONITOR lists, RPL_ISUPPORT lists, etc.
maxLastArgLength = 400