fix personal mail

This commit is contained in:
Andrew Pamment 2018-02-18 14:11:34 +10:00
parent 9390dedc82
commit aa21b714e5

View File

@ -146,7 +146,7 @@ int msg_is_to(struct user_record *user, char *addressed_to, char *address, int t
} else {
myname = strdup(user->loginname);
}
if (type == NETWORK_FIDO) {
if (type == NETWORK_FIDO && address != NULL) {
if (strcasecmp(myname, addressed_to) == 0) {
dest = parse_fido_addr(address);
if (conf.mail_conferences[msgconf]->fidoaddr->zone == dest->zone &&