summaryrefslogtreecommitdiff
path: root/limits.go
diff options
context:
space:
mode:
authorplutorocks <>2026-02-26 21:30:32 +0000
committerplutorocks <>2026-02-26 21:30:32 +0000
commit3db298ec3eca0ed94cb7912f660df7dd1f4582e0 (patch)
treed406e1d64aa10c8027bf4bf4a5914f1378fb495e /limits.go
initial commitHEADmaster
Diffstat (limited to 'limits.go')
-rw-r--r--limits.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/limits.go b/limits.go
new file mode 100644
index 0000000..a8b2566
--- /dev/null
+++ b/limits.go
@@ -0,0 +1,7 @@
+// limits.go
+package main
+
+const (
+ maxNickLen = 15 // maximum nickname length in runes
+ maxMessageLen = 400 // maximum chat message length in runes
+) \ No newline at end of file