github/hubot-scripts — pull request #1254 by scooter-dangle (2013-12-16 16:02:43+00:00)
Title: Fix array indices in cash.coffee regex match

Previously, the `amount` variables were being set to `msg.match[3]`, but the `msg.match` array only contains 3 items (the full match, the match of the optional verbiage, and the match of the cash amount), so `amount` was being set to `undefined` since JS/CS arrays are zero-indexed.