Fix MSSP connect traceback. Resolve #1930. Also add mock external_discord_hello inputfunc for Mudlet.

This commit is contained in:
Griatch 2019-09-15 14:09:47 +02:00
parent 75c6f198ee
commit e395ea9371
2 changed files with 11 additions and 1 deletions

View File

@ -541,3 +541,13 @@ def msdp_unreport(session, *args, **kwargs):
"""
unmonitor(session, *args, **kwargs)
# client specific
def external_discord_hello(session, *args, **kwargs):
"""
Sent by Mudlet as a greeting; added here to avoid
logging a missing inputfunc for it.
"""
pass

View File

@ -115,7 +115,7 @@ class Mssp(object):
if MSSPTable_CUSTOM:
self.mssp_table.update(MSSPTable_CUSTOM)
varlist = ''
varlist = b''
for variable, value in self.mssp_table.items():
if callable(value):
value = value()