Skip to content
Snippets Groups Projects
Commit aba949fa authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add comment containing what Internet Rex sends.

parent 6b6a6f50
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -1215,6 +1215,7 @@ BinkP.prototype.recvFrame = function(timeout) ...@@ -1215,6 +1215,7 @@ BinkP.prototype.recvFrame = function(timeout)
this.remote_ver = m[1]; this.remote_ver = m[1];
log(LOG_INFO, "Peer version: " + this.remote_ver); log(LOG_INFO, "Peer version: " + this.remote_ver);
binkp_ver = parseFloat(m[2].substr(m[2].indexOf('binkp/') + 6)); binkp_ver = parseFloat(m[2].substr(m[2].indexOf('binkp/') + 6));
// Note: Internet Rex sends "VER Internet Rex 2.67 beta 1a OS/2 (binkp/1.1)"
if (m[2] !== 'binkp/1.1' && binkp_ver > 1.0) { if (m[2] !== 'binkp/1.1' && binkp_ver > 1.0) {
log(LOG_WARNING, 'Peer ended their VER with " '+m[2]+'" instead of the required " binkp/1.1", but we\'re assuming binkp 1.1 anyway'); log(LOG_WARNING, 'Peer ended their VER with " '+m[2]+'" instead of the required " binkp/1.1", but we\'re assuming binkp 1.1 anyway');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment