Help command fix for players that don't have options saved

This commit is contained in:
Simon Vermeersch 2017-02-05 00:18:37 +01:00 committed by Griatch
parent ba42c68c5c
commit 661ec5cb0b

View file

@ -59,7 +59,7 @@ class CmdHelp(Command):
if self.session.protocol_key in ("websocket", "ajax/comet"):
try:
options = self.caller.player.db._saved_webclient_options
if options["helppopup"]:
if options and options["helppopup"]:
usemore = False
except KeyError:
pass