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.
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
From Rob Swindell@VERT to Git commit to Main/master on Monday, November 23, 2020 14:03:07