added use_udp option

This commit is contained in:
əlemi 2022-05-09 23:53:50 +02:00
parent fdfe71b481
commit f95f594967
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -84,7 +84,12 @@ class Treepuncher(
code= opt('code'), code= opt('code'),
) )
super().__init__(opt('server', required=True), online_mode=online_mode, authenticator=authenticator) super().__init__(
opt('server', required=True),
use_udp=opt('use_udp', default=False),
online_mode=online_mode,
authenticator=authenticator
)
self.storage = Storage(self.name) self.storage = Storage(self.name)