From 362510c46854d41d7a72d074fb557e655e18cb3d Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 1 Jul 2013 18:46:09 +0000 Subject: [PATCH] minutes not hours! --- modules/kick/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 9602691..a18f717 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -17,7 +17,7 @@ var commands = function(dbot) { if(!_.isUndefined(minutes)) { minutes = parseFloat(minutes.trim()); - var msTimeout = new Date(new Date().getTime() + (minutes * 3600000)); + var msTimeout = new Date(new Date().getTime() + (minutes * 60000)); dbot.api.timers.addTimeout(msTimeout, function() { this.api.unquiet(server, quietee, channel); }.bind(this));