irc-bot
irc-bot copied to clipboard
Create a new user object in WhosPcRpl if it does not exist yet
This should increase reliability with hopefully no side effects. All user information should be in the WhosPcRpl message and thus creating users at this stage should be safe.
Upon further checks, the user object should be created upon the NamReply message. This change becomes redundant and the original behaviour might even be useful as a bug check.
I'll leave this open for now, it's probably best to investigate the proper chain of messages before acting on this. The issue originally linked had a deeper bug.