Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed case sensitivity bug in client.whois() #338

Merged
merged 1 commit into from
Mar 18, 2015

Conversation

itsrachelfish
Copy link
Contributor

This is a simple fix to ensure whois callbacks are fired when a user's name is capitalized differently than the whois response. Currently, a whois callback will never be fired unless the whois nick exactly matches.

For example, if a user "Rachel" is connected to IRC:

client.whois("rachel", function() {
    // This callback is never fired, because "rachel" != "Rachel"
});

This pull request partially solves issue #322

@jirwin
Copy link
Collaborator

jirwin commented Mar 18, 2015

Cool. +1

jirwin added a commit that referenced this pull request Mar 18, 2015
Fixed case sensitivity bug in client.whois()
@jirwin jirwin merged commit 605555e into martynsmith:master Mar 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants