Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Jul 3, 2017
1 parent 4546484 commit ef5c3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irc/IrcEventBroker.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ IrcEventBroker.prototype.addHooks = function(client, connInst) {
let promise = complete(req, ircHandler.onJoin(
req, server, createUser(name.nick), name.chan, "names"
));
if (!name.opLevel || name.opLevel === "") {
if (!name.opLevel) {
return promise;
}
// chain off an onMode after the onJoin has been processed.
Expand Down

0 comments on commit ef5c3f1

Please sign in to comment.