Skip to content
Snippets Groups Projects
  1. Nov 18, 2016
  2. Nov 17, 2016
    • rswindell's avatar
      Fix getuserdat() bug introduced in rev 1.164: when failing to read a user · 6e7bf768
      rswindell authored
      record (e.g. the user number is invalid), the user number should be 0 after
      returning. This would cause, for example, sbbs_t::login() to accept a login
      string with an invalid usernumber (e.g. "12345") and do some strange things.
      The same side-effect was missing in the (new) fgetuserdat().
      6e7bf768
  3. Nov 16, 2016
  4. Nov 15, 2016
  5. Nov 13, 2016
  6. Nov 12, 2016
    • rswindell's avatar
      Fixed typo when parsing VOTING.DAT: we're looking for the sender net *address* · f0012f5e
      rswindell authored
      not the sender net *type* (the net-type is passed-in). This did result in a
      crash when parsing a voting.dat that contained a networked vote. Oops.
      f0012f5e
    • rswindell's avatar
      MsgBase methods now exclude vote messages by default: · 294cd729
      rswindell authored
      - get_msg_index()
      - get_msg_header()
      - get_all_msg_headers()
      these functions all accept a new (optonal, last) bool argument "include_votes"
      which defaults to false. So if for some reason, you want to load votes, just
      pass an additional 'true' argument.
      ToDo: polls and vote tallying.
      At least for now, existing JS stuff that uses the MsgBase object won't get
      messed up by the new voting messages.
      294cd729
  7. Nov 11, 2016
  8. Nov 10, 2016
    • rswindell's avatar
      SBBSecho will ignore all votes and poll messages (FTN doesn't support them). · 0f2bf2f0
      rswindell authored
      These messages would actually already be ignored due to the lack of a message
      body, but by checking the message attributes (and redundant msg 'type'), the
      msg headers for votes & polls aren't even loaded into memory. SBBSecho v2
      should work just fine with msg bases that contain votes or polls as well.
      0f2bf2f0
Loading