Fix bug when reading

This commit is contained in:
Howard Abrams 2025-07-29 17:46:10 -07:00
parent 07baa59f12
commit 3926fc4310

View file

@ -485,7 +485,7 @@ class CmdRead(Command):
if prefix: if prefix:
prefix = prefix + "|/" prefix = prefix + "|/"
if contents.startswith("file:"): if contents.startswith("file:"):
self.show_file(reader, contents[5:], prefix) self.show_file(reader, contents[5:], prefix or "")
else: else:
reader.msg(prefix + contents) reader.msg(prefix + contents)