mirror of https://github.com/calzoneman/sync.git
Fix poll timers
This commit is contained in:
parent
8b9242fc7b
commit
2be928eea1
|
@ -112,7 +112,7 @@ PollModule.prototype.handleNewPoll = function (user, data) {
|
|||
if (self.poll === poll) {
|
||||
self.handleClosePoll({
|
||||
getName: function () { return "[poll timer]" },
|
||||
account: { effectiveRank: 255 }
|
||||
effectiveRank: 255
|
||||
});
|
||||
}
|
||||
}, data.timeout * 1000);
|
||||
|
|
Loading…
Reference in New Issue