File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ class ServerFifoManager {
8585 if ( sendWithUsername === true )
8686 toSend = `${ message . author . username } : ${ message . cleanContent } ` ;
8787 else toSend = `${ message . cleanContent } ` ;
88+ toSend = toSend . replaceAll ( "`" , "\\`" ) ;
8889 this . usedFifos . forEach ( ( server ) => {
8990 if ( server . serverObject . discordid === message . channel . id )
9091 server . serverFifo . write ( toSend , ( ) => { } ) ;
@@ -101,6 +102,7 @@ class ServerFifoManager {
101102 if ( sendWithUsername === true )
102103 toSend = `${ message . author . username } : ${ message . cleanContent } ` ;
103104 else toSend = `${ message . cleanContent } ` ;
105+ toSend = toSend . replaceAll ( "`" , "\\`" ) ;
104106 this . usedFifos . forEach ( ( server ) => {
105107 server . serverFifo . write ( toSend , ( ) => { } ) ;
106108 } ) ;
You can’t perform that action at this time.
0 commit comments