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 | 55f710ce2f704bfa79745d7b9b911f497d5fc552 (patch) | |
tree | 6ced45abcaa5be8e77be728e722ad0f1d0fb032c /net | |
parent | 25f647c874d941a87b8f0ac0f98ca8779c1bfa65 (diff) | |
download | prosody-55f710ce2f704bfa79745d7b9b911f497d5fc552.tar.gz prosody-55f710ce2f704bfa79745d7b9b911f497d5fc552.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 |