• Rob Swindell's avatar
    For subs that allow voting, getposts() will exclude vote messages from total. · 39a77d9a
    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.
getstats.c 5.03 KB