diff --git a/src/sbbs3/qwk.cpp b/src/sbbs3/qwk.cpp index 17fcc7af7c2584bed43f6d775cbb0dbd43ad0a0b..9ce8b546aabb1661e7db9131aaeaa3442b22013a 100644 --- a/src/sbbs3/qwk.cpp +++ b/src/sbbs3/qwk.cpp @@ -1213,10 +1213,11 @@ bool sbbs_t::qwk_vote(str_list_t ini, const char* section, smb_net_type_t net_ty if(result == SMB_DUPE_MSG) lprintf(LOG_DEBUG, "Duplicate vote-msg (%s) from %s", msg.id, qnet_id); else if(result != SMB_SUCCESS) { - if(hubnum >= 0) + if(hubnum >= 0) { lprintf(LOG_DEBUG, "Error %s (%d) writing %s vote-msg (%s) to %s" ,smb.last_error, result, qnet_id, msg.id, smb.file); - else + result = SMB_SUCCESS; // ignore vote failures for old messages + } else errormsg(WHERE, ERR_WRITE, smb.file, result, smb.last_error); } }