2016-06-15 13:50:56 +02:00
|
|
|
// Copyright (c) 2012-2014 Jeremy Latt
|
|
|
|
// Copyright (c) 2014-2015 Edmund Huber
|
2017-03-27 14:15:02 +02:00
|
|
|
// Copyright (c) 2016-2017 Daniel Oaks <daniel@danieloaks.net>
|
2016-06-15 13:50:56 +02:00
|
|
|
// released under the MIT license
|
|
|
|
|
2012-04-18 03:49:14 +02:00
|
|
|
package irc
|
|
|
|
|
2016-06-30 09:42:24 +02:00
|
|
|
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.
|
2017-03-28 09:33:08 +02:00
|
|
|
SemVer = "0.7.1"
|
2014-03-01 04:21:33 +01:00
|
|
|
)
|
2016-06-30 09:42:24 +02:00
|
|
|
|
|
|
|
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
|
2016-10-26 16:51:55 +02:00
|
|
|
// maxTargets is the maximum number of targets for PRIVMSG and NOTICE.
|
|
|
|
maxTargets = 4
|
2016-06-30 09:42:24 +02:00
|
|
|
)
|