From 352582541f272f7f85c33aa2ca29928fe1bbf6fe Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 1 Jan 2019 03:29:55 +0100 Subject: [PATCH] Make help command accept use without a session --- evennia/commands/default/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/commands/default/help.py b/evennia/commands/default/help.py index d2011629c1..10064d06d0 100644 --- a/evennia/commands/default/help.py +++ b/evennia/commands/default/help.py @@ -66,7 +66,7 @@ class CmdHelp(Command): if type(self).help_more: usemore = True - if self.session.protocol_key in ("websocket", "ajax/comet"): + if self.session and self.session.protocol_key in ("websocket", "ajax/comet"): try: options = self.account.db._saved_webclient_options if options and options["helppopup"]: