Skip to content
Snippets Groups Projects
Commit c7b1bed6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix network user/address look-up (using qnet/users.dat)

The QWKnet user look-up feature was broken as of commit e4fc5d04 (a year ago).

Just noticed this regression as Andre asked in IRC about looking up network users for netmail. This feature worked for QWKnet users/addresses, at least, and now will work again.
parent 9aaaef9a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2761 passed
......@@ -105,11 +105,13 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm
}
}
if(*to == '\0' && cc_list != NULL && (*cc_list) != NULL) {
SAFECOPY(to, cc_list[0]);
cc_list++;
}
lookup_netuser(to);
net_addr = to;
if(*net_addr == '\0' && cc_list != NULL)
net_addr = cc_list[0];
net_type = smb_netaddr_type(net_addr);
lprintf(LOG_DEBUG, "parsed net type of '%s' is %s", net_addr, smb_nettype((enum smb_net_type)net_type));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment