Fix brainlet.h

This commit is contained in:
hiimgoodpack 2021-04-07 21:08:37 -04:00
parent 1c52e0f370
commit 2b71b7da08
Signed by untrusted user: hiimgoodpack
GPG key ID: 4E0E62733C14AE69

View file

@ -73,8 +73,8 @@ namespace Brainlet {
State state = NOT_CONNECTED;
static void onReceive(Client* client, std::string buffer);
void escapeJSON(std::string& string); ///< Escapes a string to a JSON value
void escapeOutput(std::string& string); ///< Escapes a string to output safely
static void escapeJSON(std::string& string); ///< Escapes a string to a JSON value
static void escapeOutput(std::string& string); ///< Escapes a string to output safely
public:
std::function<void(Channel)> onNewChannel = nullptr;