diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-02 16:30:46 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-02 16:30:46 +0100 |
commit | e83b7f442b4988bcb62f4e73234d5e25929ea1b7 (patch) | |
tree | d3f1ebb8ced3c9a82b6151f5eccf80025e6a4885 /net/server_event.lua | |
parent | 52f557decefd36b894629eaab6063a0a28a05599 (diff) | |
download | prosody-e83b7f442b4988bcb62f4e73234d5e25929ea1b7.tar.gz prosody-e83b7f442b4988bcb62f4e73234d5e25929ea1b7.zip |
net.server_event: Return true from conn:resume() to indicate success
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index a60de08e..d505825d 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -291,6 +291,7 @@ do self:_lock(self.nointerface, false, self.nowriting); if self.readcallback and not self.eventread then self.eventread = addevent( base, self.conn, EV_READ, self.readcallback, cfg.READ_TIMEOUT ); -- register callback + return true; end end |