fix for wide messages
This commit is contained in:
parent
19d3e81d0a
commit
bd342ec7b4
@ -816,7 +816,12 @@ void read_message(int socket, struct user_record *user, struct msg_headers *msgh
|
||||
for (z=0;z<z2;z++) {
|
||||
if (body[z] == '\r' || chars == 79) {
|
||||
chars = 0;
|
||||
s_putstring(socket, "\r\n");
|
||||
if (body[z] == '\r') {
|
||||
s_putstring(socket, "\r\n");
|
||||
} else {
|
||||
s_putchar(socket, body[z]);
|
||||
s_putstring(socket, "\r\n");
|
||||
}
|
||||
lines++;
|
||||
if (lines >= 17) {
|
||||
s_putstring(socket, "\e[1;37mPress a key to continue...\e[0m");
|
||||
|
Reference in New Issue
Block a user