mirror of
https://github.com/reality/dbot.git
synced 2024-12-18 00:22:35 +01:00
create new date from serialised timeout
This commit is contained in:
parent
654a04810a
commit
dc6489767f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user