Fixed an edge case for oob.

This commit is contained in:
Griatch 2015-04-01 09:17:19 +02:00
parent 0cbb96bc82
commit ec05a47065

View file

@ -154,6 +154,8 @@ class TelnetOOB(object):
elif cmdname in ("MSDP_ARRAY", "MSDP_TABLE"):
# no cmdname should accompany these, just the MSDP wrapper
cmdname = "MSDP"
gmcp_string = ""
if args:
gmcp_string = "%s %s" % (cmdname, json.dumps(args))
elif kwargs: