mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix traceback when using board/read with no message number
This commit is contained in:
parent
08548d4acd
commit
38d7a0d6f4
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ class CmdEvMessageBoard(COMMAND_DEFAULT_CLASS):
|
|||
unread = {
|
||||
id: message
|
||||
for id, message in messages.items()
|
||||
if self.caller not in message["read_by"]
|
||||
if not message.tags.has(self.caller.dbid, category="read_by")
|
||||
}
|
||||
if not unread:
|
||||
self.caller.msg("You have read all the messages on this board.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue