Added event for login as well as original dlr pdus in the response callback
This commit is contained in:
@@ -61,6 +61,7 @@ function login(pduObj) {
|
||||
}
|
||||
|
||||
that.sock.resume();
|
||||
that.emit('login');
|
||||
that.sendReturn(pduObj);
|
||||
});
|
||||
|
||||
@@ -70,6 +71,7 @@ function login(pduObj) {
|
||||
// If we arrived here it means we are not logged in and that a bind_* event happened and no checkuserpass() method exists. Lets login!
|
||||
this.loggedIn = true;
|
||||
this.sock.resume();
|
||||
this.emit('login');
|
||||
this.sendReturn(pduObj);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user