3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00
This commit is contained in:
reality 2013-07-01 18:39:51 +00:00
parent b986f2eec9
commit ffac946235

View File

@ -17,7 +17,7 @@ var commands = function(dbot) {
if(!_.isUndefined(minutes)) { if(!_.isUndefined(minutes)) {
minutes = parseFloat(minutes.trim()); minutes = parseFloat(minutes.trim());
var msTimeout = new Date(new Date().getTime() + (timeout * 3600000)); var msTimeout = new Date(new Date().getTime() + (minutes * 3600000));
dbot.api.timers.addTimeout(msTimeout, function() { dbot.api.timers.addTimeout(msTimeout, function() {
this.api.unquiet(server, quietee, channel); this.api.unquiet(server, quietee, channel);
}.bind(this)); }.bind(this));