Browse Source

Fixing a typo in the opening bet check.

master
Uno Polak 10 years ago
parent
commit
c1c0f42189
  1. 2
      lib/currency.js

2
lib/currency.js

@ -207,7 +207,7 @@ Currency.prototype.commands = function (data) {
if (data[4] === 'bet') {
switch (data[5]) {
case 'open':
if (data[5] && data[6]) {
if (data[6] && data[7]) {
__self.bets(true, data);
} else {
__self.irc.emit('message', {message:__self.pre_text + 'Unable to open betting, need at least two items to bet against'});

Loading…
Cancel
Save