Fixed align macro and reply to e-mail in FTN echo
This commit is contained in:
parent
245e2e103d
commit
2ca369cc49
@ -347,6 +347,14 @@ char* TokenXlat(int mode, char* input, GMsg* msg, GMsg* oldmsg, int __origarea)
|
||||
memset(dst, filler, size);
|
||||
dst += size;
|
||||
}
|
||||
else {
|
||||
if ((ptr[1] == '{') and (ptr[3] == '}'))
|
||||
ptr += 3;
|
||||
memmove(dst, ptr+1, strlen(ptr+1)+1);
|
||||
}
|
||||
}
|
||||
else {
|
||||
memmove(dst, ptr+1, strlen(ptr+1)+1);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
@ -253,10 +253,10 @@ void Area::SaveMsg(int mode, GMsg* msg) {
|
||||
msg->attr.frq0();
|
||||
}
|
||||
|
||||
if(isinternet()) { // Adjust fields for compatibility
|
||||
if(isinternet() or isecho()) { // Adjust fields for compatibility
|
||||
if(*msg->realby)
|
||||
strcpy(msg->by, msg->realby);
|
||||
if(*msg->realto)
|
||||
if(*msg->realto and not isnet())
|
||||
strcpy(msg->to, msg->realto);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user