apps/meteor/app/irc/server/irc-bridge/peerHandlers/userRegistered.js
Function handleUserRegistered
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default async function handleUserRegistered(args) {
// Check if there is an user with the given username
let user = await Users.findOne({
'profile.irc.username': args.username,
});