I was using this to post chat messages to discord. I found that the plugin wasn't escaping things properly for some characters in the include file function Discord_EscapeString.
I replaced the function as follows and it worked.
PHP Code:
stock void Discord_EscapeString(char[] string, int maxlen)
{
ReplaceString(string, maxlen, "@", "@");
ReplaceString(string, maxlen, "'", "\\'");
}
The double quote didnt appear to need escape.
__________________