How to nerd-snipe Ender: Ask about game minutiae. :D
Short answer: It's effectively random (but probably consistently random for the same pair of IRC hosts (not nicknames)).
Longer answer with technical details: Rolls are collected into a Java HashMap. The key is a User object which implements hashCode() (and equals()) using the IRC host. This is to prevent duplicate rolls from the same person using a different nick. HashMap then uses hashCode() to build its internal array. When iterating over the HashMap, if there's a tie, the game code takes the first roll. Which roll will be the first roll will depend on iteration order, which is technically undefined. In practice though, given the same set of map keys in the same order, the iteration order will probably be consistent/repeatable across runs.