diff --git a/modules/kick/kick.js b/modules/kick/kick.js index ff15f3d..5b11c6e 100644 --- a/modules/kick/kick.js +++ b/modules/kick/kick.js @@ -115,6 +115,7 @@ var kick = function(dbot) { this.onLoad = function() { _.each(this.tempBans, function(bans, server) { _.each(bans, function(timeout, nick) { + timeout = new Date(timeout); this.internalAPI.addTempBan(server, nick, timeout); }, this); }, this);