Skip to content
Snippets Groups Projects
Commit 5e729242 authored by rswindell's avatar rswindell
Browse files

Work-around for messages with a net_type!=NET_NONE, but no net_addr.

parent 668be802
No related branches found
No related tags found
No related merge requests found
......@@ -610,7 +610,7 @@ while(client.socket.is_connected && !quit) {
if(cmd[0].toUpperCase()!="BODY") {
if(!hdr.from_net_type) /* local message */
if(!hdr.from_net_type || !hdr.from_net_addr) /* local message */
writeln(format("From: \"%s\" <%s@%s>"
,hdr.from
,hdr.from.replace(/ /g,".").toLowerCase()
......
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