MONITOR: Fix display of long lists

This commit is contained in:
Daniel Oaks
2016-10-23 20:24:02 +10:00
parent 194fa9af9f
commit 1092caa190
5 changed files with 56 additions and 11 deletions
+4
View File
@@ -15,4 +15,8 @@ const (
var (
// Ver is the full version of Oragono, used in responses to clients.
Ver = fmt.Sprintf("oragono-%s", SemVer)
// 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
)