HGBot: IRC Aliases
completed by: Vijfhoek
mentors: Jon Neal, Arc Riley, Terri Oda, David Czech, AJ Williams, Amaury Medeiros
HGBot is a Python program that automates our Mercurial repository management, handles Mercurial authentication, and provides user interfaces such as IRC.
On Freenode, users may register multiple aliases under the same "account". We are currently only checking that they are registered and identified to NickServ, but we are not checking their primary account. This has the effect of treating each alias as a separate registered IRC user, which is obviously not good.
Research how HGBot could look up the primary account for a user and implement this for existing commands (such as REGISTER and PASSWORD) such that the primary account is the nickname stored in the database.
While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.
When you've done, commit your work and post the resulting changeset url to this task.