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 {
85
85
if ( sendWithUsername === true )
86
86
toSend = `${ message . author . username } : ${ message . cleanContent } ` ;
87
87
else toSend = `${ message . cleanContent } ` ;
88
+ toSend = toSend . replaceAll ( "`" , "\\`" ) ;
88
89
this . usedFifos . forEach ( ( server ) => {
89
90
if ( server . serverObject . discordid === message . channel . id )
90
91
server . serverFifo . write ( toSend , ( ) => { } ) ;
@@ -101,6 +102,7 @@ class ServerFifoManager {
101
102
if ( sendWithUsername === true )
102
103
toSend = `${ message . author . username } : ${ message . cleanContent } ` ;
103
104
else toSend = `${ message . cleanContent } ` ;
105
+ toSend = toSend . replaceAll ( "`" , "\\`" ) ;
104
106
this . usedFifos . forEach ( ( server ) => {
105
107
server . serverFifo . write ( toSend , ( ) => { } ) ;
106
108
} ) ;
You can’t perform that action at this time.
0 commit comments