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