Skip to content

Commit

Permalink
Remove CRev sanity checks
Browse files Browse the repository at this point in the history
What was once thought of as insane has now become the only correct
answer.
  • Loading branch information
Davnit committed Jan 17, 2019
1 parent dfd0dee commit 4c47360
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions trunk/modBNCS.bas
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,6 @@ On Error GoTo ERROR_HANDLER:
Exit Sub
End If
End If

If (ds.CRevChecksum = 0 Or ds.CRevVersion = 0 Or LenB(ds.CRevResult) = 0) Then
frmChat.AddChat g_Color.ErrorMessageText, "[BNCS] Check Revision Failed, sanity failed"
frmChat.DoDisconnect
Exit Sub
End If

Set pBuff = New clsDataBuffer
With pBuff
Expand Down Expand Up @@ -1849,12 +1843,6 @@ On Error GoTo ERROR_HANDLER:
End If
End If

If (ds.CRevChecksum = 0 Or ds.CRevVersion = 0 Or LenB(ds.CRevResult) = 0) Then
frmChat.AddChat g_Color.ErrorMessageText, "[BNCS] Check revision failed. Sanity check failed."
frmChat.DoDisconnect
Exit Sub
End If

Keys = GetCDKeyCount
CanSpawnKey1 = False
If Keys > 0 Then
Expand Down

1 comment on commit 4c47360

@carlbennett
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.