Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
fix(server): correct minor typo in porting 2.x patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Oct 12, 2017
1 parent 0cbe95f commit d92efec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/topologies/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function disconnectHandler(self, type, ns, cmd, options, callback) {
!self.s.pool.isConnected() &&
self.s.options.reconnect &&
self.s.disconnectHandler != null &&
options.monitoring
!options.monitoring
) {
self.s.disconnectHandler.add(type, ns, cmd, options, callback);
return true;
Expand Down

0 comments on commit d92efec

Please sign in to comment.