Is it possible for you to post a .txt version of the file? Make sure you added all the code for the mod.
Until then this is the if statement the error occurs:
if strWhoVotes = "members" or (strWhoVotes <> "members" and mLev > 0) then
'## Forum SQL - See if user has voted in this poll
strSql = "SELECT TOPIC_ID " &_
"FROM " & strTablePrefix & "POLL_VOTES " &_
"WHERE MEMBER_ID = " & MemberID
set rsPoll2 = Server.CreateObject("ADODB.Recordset")
rsPoll2.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
if rsPoll2.EOF or rsPoll2.BOF then
tmpVoted = false
else
do until rsPoll2.EOF or rsPoll2.BOF
if cint(pTopic_id) = cint(rsPoll2("TOPIC_ID")) then
tmpVoted = true
exit do
else
tmpVoted = false
end if
rsPoll2.MoveNext
loop
end if
rsPoll2.close
set rsPoll2 = nothing
end if