aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-10 22:52:23 +0000
committerGravatar jesopo2019-02-10 22:52:23 +0000
commitf8e6a55ada8d2c9035241d172c01321bca2d2574 (patch)
treef201ac5c927c161befee4cfa07175ee54e7e0305
parentChange LINE_CUTOFF to 470, now that we compute max char counts (src/IRCLine.py) (diff)
signature
Add a comment as to why IRCLine's LINE_CUTOFF is 470, not 510
-rw-r--r--src/IRCLine.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/IRCLine.py b/src/IRCLine.py
index f515a01a..2b1eb63d 100644
--- a/src/IRCLine.py
+++ b/src/IRCLine.py
@@ -1,6 +1,7 @@
import datetime, typing
from src import IRCObject, utils
+# this should be 510 (RFC1459, 512 with \r\n) but a server BitBot uses is broken
LINE_CUTOFF = 470
class Line(IRCObject.Object):