GM event fixes
This commit is contained in:
@ -3,7 +3,7 @@ import { TSocket } from '../utilities/types'
|
||||
|
||||
export default function (socket: TSocket, io: Server) {
|
||||
socket.on('login', () => {
|
||||
// return user data
|
||||
if (!socket.user) return
|
||||
socket.emit('logged_in', { user: socket.user })
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user