You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.go 503B

1234567891011121314
  1. // Copyright (c) 2012-2014 Jeremy Latt
  2. // Copyright (c) 2014-2015 Edmund Huber
  3. // Copyright (c) 2016-2017 Daniel Oaks <daniel@danieloaks.net>
  4. // released under the MIT license
  5. package irc
  6. const (
  7. // maxLastArgLength is used to simply cap off the final argument when creating general messages where we need to select a limit.
  8. // for instance, in MONITOR lists, RPL_ISUPPORT lists, etc.
  9. maxLastArgLength = 400
  10. // maxTargets is the maximum number of targets for PRIVMSG and NOTICE.
  11. maxTargets = 4
  12. )