OpenFusion/src/Chat.hpp

14 lines
303 B
C++

#pragma once
#define CMD_PREFIX '/'
#include "servers/CNShardServer.hpp"
namespace Chat {
extern std::vector<std::string> dump;
void init();
void sendServerMessage(CNSocket* sock, std::string msg); // uses MOTD
std::string sanitizeText(std::string text, bool allowNewlines=false);
}