mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 12:37:16 +02:00
Made sure to handle the default mudlet GMCP sends.
This commit is contained in:
parent
056fa5f3d2
commit
de177398aa
1 changed files with 8 additions and 0 deletions
|
|
@ -169,6 +169,10 @@ def client_options(session, *args, **kwargs):
|
|||
flags["SCREENWIDTH"] = validate_size(value)
|
||||
elif key == "inputdebug":
|
||||
flags["INPUTDEBUG"] = validate_bool(value)
|
||||
elif key in ('Char 1', 'Char.Skills 1', 'Char.Items 1',
|
||||
'Room 1', 'IRE.Rift 1', 'IRE.Composer 1'):
|
||||
# ignore mudlet's default send (aimed at IRE games)
|
||||
pass
|
||||
elif not key == "options":
|
||||
err = _ERROR_INPUT.format(
|
||||
name="client_settings", session=session, inp=key)
|
||||
|
|
@ -177,6 +181,10 @@ def client_options(session, *args, **kwargs):
|
|||
# we must update the portal as well
|
||||
session.sessionhandler.session_portal_sync(session)
|
||||
|
||||
# GMCP alias
|
||||
hello = client_options
|
||||
supports_set = client_options
|
||||
|
||||
|
||||
def get_client_options(session, *args, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue