aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 7482abba..fcc7e99d 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -526,7 +526,7 @@ function interface:pausefor(t)
self:setflags(false);
self._pausefor = addtimer(t, function ()
self._pausefor = nil;
- if self.conn:dirty() then
+ if self.conn and self.conn:dirty() then
self:onreadable();
end
self:setflags(true);