Improves checking methods for gamble open_ticket.


git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5844 63ad8ddf-47c3-0310-b6dd-a9e9d9715204