Permalink
Browse files

pass bind pdu to application code on bind request

  • Loading branch information...
1 parent 4df26ac commit 4f260a8c988623dde357255fe6e4ff244d8c5231 @bjyoungblood bjyoungblood committed Dec 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/server-connection.js
View
@@ -315,7 +315,7 @@ var serverConnection = function(socket, server, closeConnectionServerCallback, c
// Ask the callback (if there is one) if the credentials are okay
if (self.listeners('bind').length > 0) {
- self.emit('bind', self, function(status) {
+ self.emit('bind', self, pdu, function(status) {
self.bindAuthorization(pdu, status);
});
} else {

0 comments on commit 4f260a8

Please sign in to comment.