Attempt to fix quote encapsulation
This commit is contained in:
parent
bdcae2e6e1
commit
d268857953
@ -322,8 +322,8 @@ void chat_system(struct user_record *user) {
|
|||||||
} else {
|
} else {
|
||||||
input_b = encapsulate_quote(inputbuffer);
|
input_b = encapsulate_quote(inputbuffer);
|
||||||
raw("{ \"bbs\": \"%s\", \"nick\": \"%s\", \"msg\": \"%s\" }\n", conf.mgchat_bbstag, user->loginname, input_b);
|
raw("{ \"bbs\": \"%s\", \"nick\": \"%s\", \"msg\": \"%s\" }\n", conf.mgchat_bbstag, user->loginname, input_b);
|
||||||
|
sprintf(buffer2, "|08(|13%s|08)[|11%s|08]: |07%s", conf.mgchat_bbstag, user->loginname, input_b);
|
||||||
free(input_b);
|
free(input_b);
|
||||||
sprintf(buffer2, "|08(|13%s|08)[|11%s|08]: |07%s", conf.mgchat_bbstag, user->loginname, inputbuffer);
|
|
||||||
append_screenbuffer(buffer2);
|
append_screenbuffer(buffer2);
|
||||||
do_update = 1;
|
do_update = 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user