diff --git a/lib/connection.js b/lib/connection.js index 3728bb59..6ef5d6bc 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -349,7 +349,7 @@ Connection.prototype.socketDrained = function(socket, serviceBuffer) { socket.busy = false; if(this.options.enhanced) { var notification = socket.cachedNotifications[socket.cachedNotifications.length - 1]; - this.emit('transmitted', notification.notification, notification.recipient, socket); + this.emit('transmitted', notification.notification, notification.recipient); } if(serviceBuffer === true && !this.runningOnNextTick) { // There is a possibility that this could add multiple invocations to the