]> jfr.im git - erebus.git/commitdiff
dont initialize the recvbuffer with 8KB of NUL
authorzonidjan <redacted>
Mon, 8 Mar 2021 22:34:42 +0000 (16:34 -0600)
committerzonidjan <redacted>
Mon, 8 Mar 2021 22:34:42 +0000 (16:34 -0600)
bot.py

diff --git a/bot.py b/bot.py
index 66fc9366749b97f8c2dc934888acffa3aa384664..2528d49ac70cd91a86b2633118471af2a4022b9a 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -466,7 +466,7 @@ class Bot(object):
 class BotConnection(object):
        def __init__(self, parent, bind, server, port):
                self.parent = parent
-               self.buffer = bytearray(8192)
+               self.buffer = bytearray()
                self.socket = None
 
                self.bind = bind