-
Rob Swindell authored
Vote messages and poll closures are not displayed to users as messages, so exclude them from the total "posts" returned from getposts(). This uses the new smb_msg_count() function which is slower than simply checking the size of the index file (*.sid) and dividing by the index record size. So for sub-boards that don't support voting, use the old/faster scheme.
Rob Swindell authoredVote messages and poll closures are not displayed to users as messages, so exclude them from the total "posts" returned from getposts(). This uses the new smb_msg_count() function which is slower than simply checking the size of the index file (*.sid) and dividing by the index record size. So for sub-boards that don't support voting, use the old/faster scheme.
Loading