Merge pull request #2724 from necauqua/patch-2

Add forgotten nil-check to `notification.reset_timeout`
This commit is contained in:
mergify[bot] 2019-03-13 22:01:02 +00:00 committed by GitHub
commit d8687dc251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ function notification:reset_timeout(new_timeout)
self.timeout = new_timeout or self.timeout
if not self.timer.started then
if self.timer and not self.timer.started then
self.timer:start()
end
end