Skip to content
Snippets Groups Projects
Commit 3d3209a2 authored by Eric Oulashin's avatar Eric Oulashin
Browse files

Removed some debugging lines

parent d5214269
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!249Removed some debugging lines
Pipeline #3693 passed
...@@ -10030,11 +10030,9 @@ function DigDistMsgReader_DoPrivateReply(pMsgHdr, pMsgIdx, pReplyMode) ...@@ -10030,11 +10030,9 @@ function DigDistMsgReader_DoPrivateReply(pMsgHdr, pMsgIdx, pReplyMode)
var wasNetMailOrigin = false; var wasNetMailOrigin = false;
if ((typeof(pMsgHdr.from_net_type) != "undefined") && (pMsgHdr.from_net_type != NET_NONE)) if ((typeof(pMsgHdr.from_net_type) != "undefined") && (pMsgHdr.from_net_type != NET_NONE))
{ {
if (user.is_sysop) console.print("\x01n\r\nHere 1\r\n\x01p"); // Temporary
wasNetMailOrigin = true; wasNetMailOrigin = true;
if ((typeof(pMsgHdr.from_net_addr) == "string") && (pMsgHdr.from_net_addr.length > 0)) if ((typeof(pMsgHdr.from_net_addr) == "string") && (pMsgHdr.from_net_addr.length > 0))
{ {
if (user.is_sysop) console.print("\x01n\r\nHere 2\r\n\x01p"); // Temporary
couldNotDetermineNetAddr = false; couldNotDetermineNetAddr = false;
// Build the email address to reply to. If the original message is // Build the email address to reply to. If the original message is
// internet email, then simply use the from_net_addr field from the // internet email, then simply use the from_net_addr field from the
...@@ -10043,7 +10041,6 @@ function DigDistMsgReader_DoPrivateReply(pMsgHdr, pMsgIdx, pReplyMode) ...@@ -10043,7 +10041,6 @@ function DigDistMsgReader_DoPrivateReply(pMsgHdr, pMsgIdx, pReplyMode)
var emailAddr = ""; var emailAddr = "";
if (typeof(pMsgHdr.from_net_addr) === "string" && pMsgHdr.from_net_addr.length > 0) if (typeof(pMsgHdr.from_net_addr) === "string" && pMsgHdr.from_net_addr.length > 0)
{ {
if (user.is_sysop) console.print("\x01n\r\nHere 3\r\n\x01p"); // Temporary
if (pMsgHdr.from_net_type == NET_INTERNET) if (pMsgHdr.from_net_type == NET_INTERNET)
emailAddr = pMsgHdr.from_net_addr; emailAddr = pMsgHdr.from_net_addr;
else else
...@@ -10054,14 +10051,12 @@ function DigDistMsgReader_DoPrivateReply(pMsgHdr, pMsgIdx, pReplyMode) ...@@ -10054,14 +10051,12 @@ function DigDistMsgReader_DoPrivateReply(pMsgHdr, pMsgIdx, pReplyMode)
emailAddr = console.getstr(emailAddr, 60, K_LINE|K_EDIT); emailAddr = console.getstr(emailAddr, 60, K_LINE|K_EDIT);
if ((typeof(emailAddr) == "string") && (emailAddr.length > 0)) if ((typeof(emailAddr) == "string") && (emailAddr.length > 0))
{ {
if (user.is_sysop) console.print("\x01n\r\nHere 4\r\n\x01p"); // Temporary
replyMode |= WM_NETMAIL; replyMode |= WM_NETMAIL;
retObj.sendSucceeded = bbs.netmail(emailAddr, replyMode, null, pMsgHdr); retObj.sendSucceeded = bbs.netmail(emailAddr, replyMode, null, pMsgHdr);
console.pause(); console.pause();
} }
else else
{ {
if (user.is_sysop) console.print("\x01n\r\nHere 5\r\n\x01p"); // Temporary
retObj.sendSucceeded = false; retObj.sendSucceeded = false;
console.putmsg(bbs.text(Aborted), P_SAVEATR); console.putmsg(bbs.text(Aborted), P_SAVEATR);
console.pause(); console.pause();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment