Skip to content

Commit

Permalink
Get irc contacts with case insensitive name.
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviojs committed Jun 14, 2012
1 parent 6511f7f commit 2640886
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions master/buildbot/status/words.py
Expand Up @@ -827,6 +827,7 @@ def msgOrNotice(self, dest, message):
self.msg(dest, message)

def getContact(self, name):
name = name.lower() # nicknames and channel names are case insensitive
if name in self.contacts:
return self.contacts[name]
new_contact = self.contactClass(self, name)
Expand Down

0 comments on commit 2640886

Please sign in to comment.