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.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 04922f6e..23b3f376 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -139,6 +139,7 @@ end
function interface:setlistener(listeners)
self:on("detach");
self.listeners = listeners;
+ self:on("attach");
end
-- Call a listener callback