Skip to content

Commit 217bcf7

Browse files
committed
server _onUdpRequest(): don't check empty params, errors will be thrown now
1 parent 7a8f9a7 commit 217bcf7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

server.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ Server.prototype._onUdpRequest = function (msg, rinfo) {
176176
return
177177
}
178178

179-
// Do nothing with invalid request
180-
if (!params) return
181-
182179
// Handle
183180
this._onRequest(params, function (err, response) {
184181
if (err) {

0 commit comments

Comments
 (0)