Merge pull request #196 from CFC-Servers/bug/fix-vote-confirming

only send vote to people in recipient filter
This commit is contained in:
Zach P 2022-08-04 21:00:04 -07:00 committed by GitHub
commit d92ce683b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ function ulx.doVote( title, options, callback, timeout, filter, noecho, ... )
net.WriteString( title )
net.WriteInt( timeout, 16 )
net.WriteTable( options )
net.Broadcast()
net.Send(rp)
ulx.voteInProgress = { callback=callback, options=options, title=title, results={}, voters=voters, votes=0, noecho=noecho, args={...} }