Fix for Duckclient which sends TTYPE 'MTTS13' instead of 'MTTS 13' like other clients.
This commit is contained in:
parent
b893e4b8f5
commit
ac73f59ed6
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class Ttype(object):
|
||||||
elif self.ttype_step == 3:
|
elif self.ttype_step == 3:
|
||||||
# the MTTS bitstring identifying term capabilities
|
# the MTTS bitstring identifying term capabilities
|
||||||
if option.startswith("MTTS"):
|
if option.startswith("MTTS"):
|
||||||
option = option.split(" ")[1]
|
option = option[4:].strip()
|
||||||
if option.isdigit():
|
if option.isdigit():
|
||||||
# a number - determine the actual capabilities
|
# a number - determine the actual capabilities
|
||||||
option = int(option)
|
option = int(option)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue