diff options
author | Waqas Hussain <waqas20@gmail.com> | 2011-09-03 02:42:50 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2011-09-03 02:42:50 +0500 |
commit | 8b9ca0ac7689b6bb809cf05e4165556d1c9823d1 (patch) | |
tree | 6ced45abcaa5be8e77be728e722ad0f1d0fb032c /net | |
parent | 1f1b812dc911aeb351534febd93d3fcdee72133d (diff) | |
download | prosody-8b9ca0ac7689b6bb809cf05e4165556d1c9823d1.tar.gz prosody-8b9ca0ac7689b6bb809cf05e4165556d1c9823d1.zip |
net.server_event: Don't call listener.onincoming with data=nil when listener.onconnect is missing. onincoming's arguments shall always be non-nil.
Diffstat (limited to 'net')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 528305d3..daf2de6a 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -460,7 +460,6 @@ do -- Stub handlers function interface_mt:onconnect() - return self:onincoming(nil); end function interface_mt:onincoming() end |