minor fixes
add deposit command in addition to address
This commit is contained in:
parent
96d02fe5a8
commit
65e2c4fc77
1 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,7 @@ client.stream('statuses/filter', {track: settings.twitter.twitterkeyword}, funct
|
|||
if (balance >= amount) {
|
||||
coin.send('move', settings.rpc.prefix + from.toLowerCase(), settings.rpc.prefix + to.toLowerCase(), amount, function (err, reply) {
|
||||
locks[from.toLowerCase()] = null;
|
||||
if (err || reply) {
|
||||
if (err || !reply) {
|
||||
winston.error('Error in tip command', err);
|
||||
replytweet(from, replyid, settings.messages.error.expand({name: from}));
|
||||
return;
|
||||
|
@ -208,6 +208,7 @@ client.stream('statuses/filter', {track: settings.twitter.twitterkeyword}, funct
|
|||
}
|
||||
});
|
||||
break;
|
||||
case 'deposit':
|
||||
case 'address':
|
||||
console.log('adress');
|
||||
var user = from.toLowerCase();
|
||||
|
|
Loading…
Reference in a new issue