3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-29 15:40:02 +01:00
ergo/irc/constants.go

25 lines
710 B
Go
Raw Normal View History

// Copyright (c) 2012-2014 Jeremy Latt
// Copyright (c) 2014-2015 Edmund Huber
// Copyright (c) 2016- Daniel Oaks <daniel@danieloaks.net>
// released under the MIT license
2012-04-18 03:49:14 +02:00
package irc
import "fmt"
2012-04-18 03:49:14 +02:00
const (
2016-10-13 09:36:44 +02:00
// SemVer is the semantic version of Oragono.
SemVer = "0.7.0-unreleased"
)
var (
2016-10-13 09:36:44 +02:00
// Ver is the full version of Oragono, used in responses to clients.
Ver = fmt.Sprintf("oragono-%s", SemVer)
2016-10-23 12:24:02 +02:00
// 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
// maxTargets is the maximum number of targets for PRIVMSG and NOTICE.
maxTargets = 4
)