Do not strip newlines from email bodies

This commit is contained in:
2020-11-29 21:31:54 +01:00
parent 1d7f8bd133
commit 858fbf40be
3 changed files with 7 additions and 3 deletions

View File

@@ -29,5 +29,5 @@ namespace ChatManager {
void sendServerMessage(CNSocket* sock, std::string msg); // uses MOTD
void announcementHandler(CNSocket* sock, CNPacketData* data);
std::string sanitizeText(std::string text);
std::string sanitizeText(std::string text, bool allowNewlines=false);
}