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