added use_udp option
This commit is contained in:
parent
fdfe71b481
commit
f95f594967
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue