diff --git a/src/www_msgs.c b/src/www_msgs.c index 057f3d5..e0f26ca 100644 --- a/src/www_msgs.c +++ b/src/www_msgs.c @@ -618,9 +618,10 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i if (body[l1] == '\e' && body[l1+1] == '[') { while (strchr("ABCDEFGHIGJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", body[l1]) == NULL && l1 < strlen(body)) l1++; + } else { + replybody[l2++] = body[l1]; + replybody[l2] ='\0'; } - replybody[l2++] = body[l1]; - replybody[l2] ='\0'; } free(body);