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 767B

123456789101112131415161718192021222324252627
  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. import "fmt"
  7. const (
  8. // SemVer is the semantic version of Oragono.
  9. SemVer = "0.11.0-unreleased"
  10. )
  11. var (
  12. // Commit is the current git commit.
  13. Commit = ""
  14. // Ver is the full version of Oragono, used in responses to clients.
  15. Ver = fmt.Sprintf("oragono-%s", SemVer)
  16. // maxLastArgLength is used to simply cap off the final argument when creating general messages where we need to select a limit.
  17. // for instance, in MONITOR lists, RPL_ISUPPORT lists, etc.
  18. maxLastArgLength = 400
  19. // maxTargets is the maximum number of targets for PRIVMSG and NOTICE.
  20. maxTargets = 4
  21. )