Commit 1f39f430 authored by rswindell's avatar rswindell
Browse files

Only remove the "user@" portion of NetMail to-net-addr when the parsed net-type

is not "Internet" (e.g. QWKnet or FidoNet).
parent 5496b5c8
......@@ -30,7 +30,7 @@ else {
if(user.security.restrictions&UFLAG_M)
error("You do not have permission to send netmail");
var at = to.indexOf('@');
if(at > 0) {
if(hdrs.to_net_type!=NET_INTERNET && at > 0) {
hdrs.to_net_addr = to.slice(at + 1);
to = to.slice(0, at);
} else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment