mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 15:07:16 +02:00
Add blank line between subject and body when changing message board post
This commit is contained in:
parent
fdd1fafcfd
commit
cf2047852c
1 changed files with 3 additions and 1 deletions
|
|
@ -207,7 +207,9 @@ class CmdEvMessageBoard(COMMAND_DEFAULT_CLASS):
|
|||
self.caller.msg("You may only change your own messages.")
|
||||
return
|
||||
|
||||
self.start_editor(board, buf=message["message"].message, message_id=int(message_id))
|
||||
lines = message["message"].message.split("\n")
|
||||
buf = lines[0] + "\n\n" + "\n".join(lines[1:])
|
||||
self.start_editor(board, buf=buf, message_id=int(message_id))
|
||||
return
|
||||
|
||||
if "delete" in self.switches or "del" in self.switches:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue