Add a comment as to why IRCLine's LINE_CUTOFF is 470, not 510

This commit is contained in:
jesopo 2019-02-10 22:52:23 +00:00
parent fc5ade7112
commit f8e6a55ada

View file

@ -1,6 +1,7 @@
import datetime, typing import datetime, typing
from src import IRCObject, utils from src import IRCObject, utils
# this should be 510 (RFC1459, 512 with \r\n) but a server BitBot uses is broken
LINE_CUTOFF = 470 LINE_CUTOFF = 470
class Line(IRCObject.Object): class Line(IRCObject.Object):