mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 19:35:56 +00:00
Fix MSSP connect traceback. Resolve #1930. Also add mock external_discord_hello inputfunc for Mudlet.
This commit is contained in:
parent
75c6f198ee
commit
e395ea9371
@ -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
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user